php - Getting type of file request -
i have example code:
<img src="e.php"/> <link href="e.php" rel="stylesheet"/> <script src="e.php"></script>
is there way know if e.php loaded on window or if called document elements?
if request 'friendly' - i.e. can trust - pass parameter inside dom:
<img src="e.php?query=dom"/>
otherwise, if can not trust (i.e. parameters changed) - there's no way figure out type of query - can either 'normal', query elements or via curl call (in common case, curl third-party library)
Comments
Post a Comment