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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjarne dot ingelsson at enators dot se
New email:
PHP Version: OS:

 

 [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: Fri May 17 02:01:32 2024 UTC