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: [EMAIL PROTECTED] 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php