[PHP-DEV] Bug #11436 Updated: Using method=POST and enctype=multipart/form-data causes form data invisibl
ID: 11436 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: HTTP related Operating System: Linux Slackware 7.1 PHP Version: 4.0.5 New Comment: no feedback after 35+ days. Previous Comments: [2001-06-13 11:53:00] [EMAIL PROTECTED] Works for me just fine. (you have one $ missing when printing the password) Could you please explain WHAT doesn't work? It works with or without the enctype for me. --Jani [2001-06-12 09:28:39] [EMAIL PROTECTED] I have apache-1.3.20 with PHP-4.0.5 compiled in. This script works good only if $method=get. It works also if $method=post but without a enctype=multipart/form-data. ?php $method=post; # get if ($name) {echo name=$namebrpassword=password;} else{ ? form method=?php echo $method ? action=?php echo $PHP_SELF; ? enctype=multipart/form-data Enter name:br input type=text name=name size=21 brbrEnter password:br input type=password name=password size=21 pinput type=submit value=Submit /form ? } ? Edit this bug report at http://bugs.php.net/?id=11436edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11436 Updated: Using method=POST and enctype=multipart/form-data causes form data invisibl
ID: 11436 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Scripting Engine problem Bug Type: HTTP related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Works for me just fine. (you have one $ missing when printing the password) Could you please explain WHAT doesn't work? It works with or without the enctype for me. --Jani Previous Comments: --- [2001-06-12 09:28:39] [EMAIL PROTECTED] I have apache-1.3.20 with PHP-4.0.5 compiled in. This script works good only if $method=get. It works also if $method=post but without a enctype=multipart/form-data. ?php $method=post; # get if ($name) {echo name=$namebrpassword=password;} else{ ? form method=?php echo $method ? action=?php echo $PHP_SELF; ? enctype=multipart/form-data Enter name:br input type=text name=name size=21 brbrEnter password:br input type=password name=password size=21 pinput type=submit value=Submit /form ? } ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11436edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]