Bug #12760 Updated: The uploaded image are not available.
| From: | sniper@php.net | Date: | Wed, 15 Aug 2001 11:31:49 +0000 |
| Subject: | Bug #12760 Updated: The uploaded image are not available. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63267@lists.php.net to get a copy of this message | ||
ID: 12760
Updated by: sniper
Reported By: cohen@cythere.com
Old Status: Open
Status: Closed
Bug Type: *Directory/Filesystem functions
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Ask your service provider to update the PHP to 4.0.6.
This is fixed.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-08-15 06:14:03] cohen@cythere.com
I am not sure about the PHP version of by hosting.
I use script of upload in my website. The upload is OK : the file is in my server but, when I want
to open and read the image file (jpeg or gif), the image is not available. When I open the file in a
text editor, I notice that the file in my server containt 2 lines, in the top of the file, not
present in the original file :
- first line : "Content-Type: image/jpeg" (for a jpeg file)
- second line : a blank line
I have not this problem in my development server (a NT server).
Thanks to your help.
Cohen Jean-Claude
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12760&edit=1