in reply to $ENV{'HTTP_REFERRER'} and images
So that the HTML generated ends up looking like: <img src=http://www.site.com/my_image.gif?GRANDPARENT=http%3a%2f%2fwww.domain.com%2fmy_other_page.pl">. Then, you can extract that information from the query string when serving the image (or from the access logs on that server, or whatever).print "<img src=http://www.site.com/my_image.gif?GRANDPARENT=".escape_ +uri($ENV{HTTP_REFERRER}).">";
------------ :Wq Not an editor command: Wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $ENV{'HTTP_REFERRER'} and images
by funz (Initiate) on Jun 14, 2004 at 04:43 UTC |