ID: 11484 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Directory/Filesystem functions Operating system: PHP Version: 4.0.5 Assigned To: Comments: Your script is broken. Uploading works for me just fine with PHP 4.0.5 / PHP 4.0.6RC3 Previous Comments: --------------------------------------------------------------------------- [2001-06-14 07:39:56] [EMAIL PROTECTED] When I upload a file with copy() function or something else script adds uploaded file's mime type into uploaded file. For example if I upload a gif file called pic.gif: Pic.gif damages and iti includes "image/gif" at the head of the file when I open it with notepad. Then doesn't happen on my NT4.0 server but the problem is on REDHAT 6.2 machine. magic_quotes_gpc is off on server config but I tried and failed with set_magic_quotes_runtime. Whats the problem? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11484&edit=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]