File uploading problems...

From: Date: Sun, 03 Sep 2000 20:17:14 +0000
Subject: File uploading problems...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15007@lists.php.net to get a copy of this message
Hello, I have a problems with file uploading... Text files uploading good, but the binary files become differ with original... After uploading all '00' hex codes of original file become to '20' (space)... As result I can't unpack .zip files for example... How to solve this problem? Is it the bug or misconfiguration of my PHP? I tried change option magic_quotes_gpc in php.ini but no results... What is wrong??? I'm using mod_php 4.0.2 on FreeBSD 4.0 with Apache 1.3.12. Thanks in advance, Mike. Here is HTML form: <form name="upload" action="upload.php" method="put" enctype="multipart/form-data"> <table border=1 cellspacing=0 cellpadding=0 align="center"> <tr> <td>Choose filename:</td> <td><input type="file" name="file"></td> </tr> <tr> <td><input type="hidden" name="MAX_FILE_SIZE" value="2000"></td> <td><input type="reset" value=" Reset ">&nbsp; <input type="submit" value=" Upload "></td> </tr> </table> </form>

« previous php.general (#15007) next »