From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.0-RELEASE #6
PHP version:      4.0.4pl1
PHP Bug Type:     HTTP related
Bug description:  In the uploaded binary file all zero bytes are replaced by 0x20 (32)

Configure command:
'./configure' '--with-apache=../apache_1.3.14rusPL30.1' '--enable-track-vars'

All default values in php.ini file.

Sample script:

<FORM ENCTYPE="multipart/form-data" ACTION="<?=$script?>" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="300000">
<INPUT NAME="inputfile" TYPE="file">
<INPUT TYPE="submit" VALUE="Submit!">
echo "File is uploaded!";

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to