php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3134 Cant get hold of environment variables
Submitted: 2000-01-07 09:55 UTC Modified: 2000-06-09 03:41 UTC
From: bjarne dot ingelsson at enators dot se Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 3 OS: WinNT4 SP6 IIS4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 41 = ?
Subscribe to this entry?

 
 [2000-01-07 09:55 UTC] bjarne dot ingelsson at enators dot se
if($REQUEST_METHOD == "POST")
{
   echo "POST";
}
else
{
   echo "Something else...";
   echo $REQUEST_METHOD;		
}

The REQUEST_METHOD variable is in this case empty.
It doesn't contain either Get, Post or anything else.

phpinfo() show every variable though...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-09 03:41 UTC] zeev at cvs dot php dot net
This should be fixed in later version (try 4.0.0)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 07:01:30 2024 UTC