From: [EMAIL PROTECTED]
Operating system: Redhat 7.0
PHP version: 4.1.2
PHP Bug Type: Variables related
Bug description: posts with enctype=multipart/form-data do not register post vars.
Forms with an enctype of 'multitype/form-data' do not register the POST
variables.
Here's how to reproduce:
----- Short Script Follows -----
<?
print_r($HTTP_POST_VARS);
?>
<form method=post enctype='multipart/form-data'>
<input type='text' value='<? print $foo ?>' name='foo'>
<input type='submit'>
</form>
----- End Script -----
Run the script above. It is simple enough - it has a form that submits
to itself, and then displays the HTTP_POST_VARS variable.
When I remove the enctype='multipart/form-data' attribute from the form
tag, the script works fine (i.e. the variable 'foo' appears). The
enctype directive appears to surpress the variables.
--
Edit bug report at http://bugs.php.net/?id=15827&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15827&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15827&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15827&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15827&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15827&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15827&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15827&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15827&r=submittedtwice