RE: [PHP] HTTP_REFERER?

From: Date: Thu, 29 Aug 2002 02:30:11 +0000
Subject: RE: [PHP] HTTP_REFERER?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114444@lists.php.net to get a copy of this message
Thanks for the information. I appreciate your help. It works when I just want to display them in the main page, but the following code continues to generate empty data in my table. $larry = $_SERVER['HTTP_REFERER']; $moe = $_SERVER['QUERY_STRING']; $curly = $_SERVER['HTTP_USER_AGENT']; $schep = $_SERVER['REMOTE_ADDR']; $result2 = mysql_query("insert into referer(path,query,agent,remote) values('$larry','$moe','$curly','$schep')",$db); -----Original Message----- From: listman@evol [mailto:listman@evol]On Behalf Of Keith Vance Sent: Wednesday, August 28, 2002 7:51 PM To: Lon Lentz Cc: php-general@lists.php.net Subject: Re: [PHP] HTTP_REFERER? Look at using $_SERVER variable, you can access it anywhere. Do a print_r($_SERVER) to see the data it holds.

« previous php.general (#114444) next »