File upload problem
| From: | Hugo Trovao Mota | Date: | Tue, 30 Jan 2001 02:21:59 +0000 |
| Subject: | File upload problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37214@lists.php.net to get a copy of this message | ||
Hi!
I've recently upgraded my system to Redhat 7, running Apache 1.3.14, PHP 4.0.4pl1 and mod_perl 1.24.
Since that, some of my PHP scripts just stopped working (they worked just fine before).
When I use file upload, all the uploaded files get a "free bonus" 'Content-Type' header that makes them unusable.
For example, I can't display uploaded GIFs or JPGs because of the added 'Content-Type' line.
Is this a bug in PHP 4.0.4pl1? Is it something in my php.ini?
Regards,
Hugo Trovao Mota