RE: [PHP] HTTP Request Headers - PUHLEASE HELP!

From: Date: Mon, 25 Feb 2002 00:42:14 +0000
Subject: RE: [PHP] HTTP Request Headers - PUHLEASE HELP!
Groups: php.general 
Request: Send a blank email to php-general+get-86043@lists.php.net to get a copy of this message
what about $argv ? -----Original Message----- From: SpamSucks86 [mailto:spamsucks86@comcast.net] Sent: Monday, February 25, 2002 11:40 AM To: php-general@lists.php.net Subject: [PHP] HTTP Request Headers - PUHLEASE HELP! I have an infinitely annoying problem. I coded a script which tracks who viewed my profile in AOL Instant Messenger. When they click on a link (AIM inserts their screen name into the URL) the script records it. However, it does not replace spaces in their screen name with %20 like a normal browser would. IIS hates this and just returns bad request. Apache handles it a bit more gracefully, but everything after the space is lost. When I went to phpinfo() however, it displayed the GET header (GET blah.php?blah=wow wow HTTP/1.1). How can my script access the GET header? getallheaders() returns the headers but it excludes the GET line. Thankyou for your help!

« previous php.general (#86043) next »