Bug #17100 Updated: cutted form value of last field
| From: | k.schroeder@php.net | Date: | Sun, 02 Jun 2002 23:23:10 +0000 |
| Subject: | Bug #17100 Updated: cutted form value of last field | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9250@lists.php.net to get a copy of this message | ||
ID: 17100
Updated by: k.schroeder@php.net
Reported By: roberto.reff@webcate.de
-Status: Open
+Status: Closed
Bug Type: IIS related
Operating System: Win2000 A Server
PHP Version: 4.2.0
New Comment:
I can't reproduce this bug on my system (W2k Server, IIS5, IE6, PHP
4.2.1). var_dump($_POST) returns the same for both buttons:
array(2) {
["pass"]=>
string(5) "abcde"
["pass2"]=>
string(6) "fghij"
}
This is exactly that, what I've typed in.
Regards, Kai
Previous Comments:
------------------------------------------------------------------------
[2002-05-08 12:37:18] roberto.reff@webcate.de
<html>
<head>
<title>Hash Funktion Test</title>
</head>
<?
echo $pass;
echo $pass2;
?>
<body>
<form method="post" action="submit.php" name="sdfsdf"
id="sdfsdf">
<input type="text" name="pass" size="40">
<input type="text" name="pass2" size="40">
<input type="button" name="send" value="send"
onClick="self.document.sdfsdf.submit();">
<input type="submit" name="sendnow" value="sendnow">
</form>
</body>
</html>
by using this codepage i get a nice bug:
the last letter of the value from the last formfield (in this ex.
pass2) gets cutted if i send the form by using the JS button (only
then) if im usind a standart submit button no problem.
i also tested with a freeBSD Server with the same PHP Version 4.2.0,
but there i don't have this problem
greatings RoRo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17100&edit=1