#21574 [Ver->Bgs]: $_POST doesn't contain good value
| From: | moriyoshi@php.net | Date: | Sat, 11 Jan 2003 09:13:00 +0000 |
| Subject: | #21574 [Ver->Bgs]: $_POST doesn't contain good value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29755@lists.php.net to get a copy of this message | ||
ID: 21574
Updated by: moriyoshi@php.net
Reported By: j-blion@ifrance.com
-Status: Verified
+Status: Bogus
-Bug Type: Variables related
+Bug Type: Apache2 related
Operating System: RedHat 8
PHP Version: 4CVS-2003-01-10 (stable)
New Comment:
Duplication of bug #18648.
Marking as bogus...
Previous Comments:
------------------------------------------------------------------------
[2003-01-10 22:15:15] nicos@php.net
Verified with Apache2 only. (Latest too).
------------------------------------------------------------------------
[2003-01-10 22:00:48] nicos@php.net
It looks the same as #21566.
And it looks very critical to me?
------------------------------------------------------------------------
[2003-01-10 20:23:54] j-blion@ifrance.com
My configuration is :
- RedHat8
- Apache 2.0.43
- PHP 4.3.1-dev (same problem with PHP 4.4.0-dev, PHP 5.0.0-dev ; PHP
4.3.0 have another annoying problem)
I have IP stored in a db in longint format (with ip2long(...)).
I use the following script to obtain the hostname of an IP.
<?
$entier = $_POST[entier];
//print_r($_POST); // To view the bug
print "<form action=ip.php method=post name=conversion>";
print "<input type=text name=entier value=$entier>";
print "<input type=submit value=Convertir>";
print "</form><br><br>";
$ip = long2ip($entier);
print $ip;
print "<br>".gethostbyaddr($ip);
?>
For example, if I type -722987112, I want to obtain 212.232.23.152 with
the good hostname.
I have this problem :
if I perform a print_r($_POST), I obtain :
Array ( [entier] => -722987112entier=-722987112 )
The script worked fine with Apache 1.2.27/PHP 4.2.3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21574&edit=1