Hi,
I don’t know if anyone has come across an instance where they need to identify the referring webpage; a few years ago when I was teaching myself cgi/perl the popular method was to call the ‘HTTP_REFERER’ variable. However, after recently reading up on it, it seems that there are many security weaknesses in using this.
Therefore, I wanted to write a php script that could be dropped into any website directory and as long as you’re linking to it from a page on your site, there are no additional query strings or hidden inputs that you need to specify - all of that while being a safe script in security as well.
I would greatly appreciatly any feedback on it:
http://treehousepc.com/send_webpage_via_referer.zip
working examples:
[COLOR=#003366]http://www.luxurygolfandtravel.com/celebrity_profile_costner.html[/COLOR][URL=“http://www.luxurygolfandtravel.com/email_webpage.php”]
http://treehousepc.com/vonvisions/
Thanks in advance,
-J