954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Location from an Embedded Image

I'm trying to find a way to find the URL of an external HTML document when it embeds an image generated by PHP. So for example I would want the following to happen if these two documents occurred.

http://example.com/index.html

<img src="http://otherplace.org/image.php" />


http://otherplace.org/image.php

header('Content-Type: image/gif');
readfile("test.gif");
$thelocation = MAGICAL_COMMAND;


$thelocation = http://example.com/index.html

nquinlan
Newbie Poster
19 posts since Mar 2010
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: