what about $argv ? -----Original Message----- From: SpamSucks86 [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 11:40 AM To: [EMAIL PROTECTED] 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!