Bug #11484: Upload Problem
| From: | ufuk dot kocolu at isletmekulubu dot com | Date: | Thu, 14 Jun 2001 11:39:56 +0000 |
| Subject: | Bug #11484: Upload Problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57185@lists.php.net to get a copy of this message | ||
From: ufuk.kocolu@isletmekulubu.com
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