Bug #14183: Can read POSTed veriable
| From: | cbaltaci at gtechnics dot com | Date: | Thu, 22 Nov 2001 20:22:38 +0000 |
| Subject: | Bug #14183: Can read POSTed veriable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71413@lists.php.net to get a copy of this message | ||
From: cbaltaci@gtechnics.com
Operating system: RedHat6.1
PHP version: 4.0.4pl1
PHP Bug Type: Apache related
Bug description: Can read POSTed veriable
On RedHat7.1 Box with apache generate a HTML form.
put a dropdown menu as form element.
ie :
<pre>
<form name="test" action="bug.php" method="POST">
<select name="pop" >
<option value="0">NO</option>
<option value="1">NO</option>
<input type="Submit" name="Submit_Button" value="Send Values">
</pre>
bug.php
<pre>
<?
if($pop){
echo "There isnt any bug";
} else {
echo "Ops!";
}
?>
</pre>
If $pop=0 then engine cant read this value, and print "Ops!"
I did try this on 3 servers that uses RedHat7.1 with PHP Version 4.0.3pl1.
--
Edit bug report at: http://bugs.php.net/?id=14183&edit=1