Either one of these preset vars should do: $HTTP_REFERER $HTTP_SERVER_VARS["HTTP_REFERER"] $HTTP_ENV_VARS["HTTP_REFERER"]
/Christian -----Original Message----- From: Emad El-Din [mailto:[EMAIL PROTECTED]] Sent: 5. oktober 2001 05:57 To: [EMAIL PROTECTED] Subject: [PHP-WIN] A referer code needed Hi I would like to know the function written to know the URL of the page the user's browser was previously on if the user followed a link from that page to my php script (as "referer" in perl script) I'm using Apache webserver on win98 OS. If any one know the code to be written plz send it to me as soon as possible. Thanks a lot -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]