Re: Simple Referrer

From: Date: Wed, 27 Aug 2003 19:16:20 +0000
Subject: Re: Simple Referrer
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-30145@lists.php.net to get a copy of this message
Diana, Diana Cassady said: > Hi. This seems like it should be simple. I've had no problem doing this > in other languages, but can find no reference to this function in the > PHP manual. > > How can I get PHP to return the referring URL? > > Thanks. > > Diana > diana@vivaladata.com "Will Work for Chocolate" > http://www.vivaladata.com (and its worth every byte!) > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > $_SERVER('HTTP_REFERER') [from the php-online documentaion] 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. [/end] Is that what you are looking for?! http://de3.php.net/reserved.variables You have to check on your PHP-Version if it supports this type of global variables. -- Once a problem is defined - it is half way solved. (Henry Ford)

« previous php.db (#30145) next »