RE: [PHP] Does not work

From: Date: Sun, 14 Jul 2002 19:28:10 +0000
Subject: RE: [PHP] Does not work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107631@lists.php.net to get a copy of this message
from PHP documentation: http://www.php.net/manual/en/reserved.variables.php '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. > -----Original Message----- > From: Saci [mailto:nospam@bol.com.br] > Sent: Sunday, July 14, 2002 2:11 PM > To: php-general@lists.php.net > Subject: [PHP] Does not work > > > I tried this simple code > > <html> > <body> > Page refered by > <?php > echo $HTTP_REFERER.'<br>'; > echo $_SERVER['HTTP_REFERER'].'<br>'; > ?> > </body> > </html> > > and I receive blank reply even if referenced from a link from other site. > > What am i doing wrong ? Or perhaps my server does not have > referer enabled? > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#107631) next »