At 22:58 16.02.2003, acleave said: --------------------[snip]-------------------- >I believe there's a way in PHP to get the URL of the page that called the >current page but can't find it. Is there such a function? Or would I >have to >use another script (like Javascript)? --------------------[snip]--------------------
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server $_SERVER['HTTP_REFERER'] The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php