Welcome Guest, Not a member yet? Register   Sign In
Get the URL of a HotLinked image
#6

[eluser]webthink[/eluser]
You have a controller which is responsible for file-reading the images and then serves the image data via the header correct? and presumably you have links on other pages which point to that page. If I understand you correctly you're interested in knowing which links are being clicked to access you image serving script. So in the image serving controller you check HTTP_REFERER and if it's set you have the referring page to do what you want with. If it isn't you know that an attempt was made to access the page directly.

Perhaps a better description of your requirements would help.


Messages In This Thread
Get the URL of a HotLinked image - by El Forum - 03-07-2008, 09:39 AM
Get the URL of a HotLinked image - by El Forum - 03-07-2008, 10:01 AM
Get the URL of a HotLinked image - by El Forum - 03-07-2008, 10:06 AM
Get the URL of a HotLinked image - by El Forum - 03-07-2008, 10:26 AM
Get the URL of a HotLinked image - by El Forum - 03-07-2008, 10:34 AM
Get the URL of a HotLinked image - by El Forum - 03-07-2008, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB