php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26139 GET/POST variables are not registered
Submitted: 2003-11-05 08:13 UTC Modified: 2003-11-17 18:36 UTC
Votes:5
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:4 (80.0%)
Same OS:4 (80.0%)
From: the0ne at gmx dot net Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.4 OS: Linux
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: the0ne at gmx dot net
New email:
PHP Version: OS:

 

 [2003-11-05 08:13 UTC] the0ne at gmx dot net
Description:
------------
GET/POST variables are not registered at all although everything worked perfectly using version 4.3.1

Reproduce code:
---------------
create an index.php containing
<? phpinfo(); ?>

and call it with parameters, e.g.

http://www.domain.tld/scripts/?p=language&a=home
   or
http://www.domain.tld/scripts/index.php?p=language&a=home

Expected result:
----------------
_GET["p"] language 
_GET["a"] home 

in the list of PHP-Variables

Actual result:
--------------
the expected entries are missing 
in the list of PHP-Variables

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-05 12:12 UTC] sniper@php.net
What webserver? And are you really using PHP as CGI binary with it? It looks like you have misconfigured something..

 [2003-11-06 11:20 UTC] the0ne at gmx dot net
i'm using php cgi. really.
and everything worked exactly as it is with 4.3.1

the webserver is named mathopd
phpinfo can be found on
host: http://www.t-horner.com/secure/info.php
user: php
pass: sniper
 [2003-11-06 15:13 UTC] sniper@php.net
See the cgi.* options in php.ini-dist that comes with the distribution. You propably need to tune some of those to get PHP work with this webserver. http://www.mathopd.org/doc/cgi.txt had some note about PHP too..

 [2003-11-07 01:32 UTC] the0ne at gmx dot net
i have tried all (!) of them (php cgi.*), but none corrects the bug.
http://www.mathopd.org/doc/cgi.txt contains outdated information as phpstub is no longer needed.
 [2003-11-17 18:11 UTC] sniper@php.net
Can not reproduce, you're obviously doing something wrong,
please ask further support questions on appropriate mailing lists, for example php-install@lists.php.net

 [2003-11-17 18:22 UTC] the0ne at gmx dot net
no, i'm doing everything right.
there are just too many bugs in the cgi part of php.

i'll not accept such an answer without further research.
why are you trying that?

as i already said, it worked with the old version and it also works if i copy the old cgi dir into the new source tree, replacing the changed (and probably buggy) cgi code of the new version.
 [2003-11-17 18:36 UTC] sniper@php.net
Can not reproduce, you're obviously doing something wrong,
please ask further support questions on appropriate mailing lists, for example php-install@lists.php.net

And believe me now, it works fine for me (and couple of thousand others out there), do not reopen before you can prove there actually is a bug.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC