From: [EMAIL PROTECTED] Operating system: Linux REDHAT 6.2 PHP version: 4.0.5 PHP Bug Type: *Directory/Filesystem functions Bug description: Upload Problem 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? -- Edit Bug report at: http://bugs.php.net/?id=11484&edit=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]