|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-08 12:37 UTC] roberto dot reff at webcate dot 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 09:00:02 2025 UTC |
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