Bug #12760: The uploaded image are not available.
| From: | cohen at cythere dot com | Date: | Wed, 15 Aug 2001 10:14:03 +0000 |
| Subject: | Bug #12760: The uploaded image are not available. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63256@lists.php.net to get a copy of this message | ||
From: cohen@cythere.com
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: *Directory/Filesystem functions
Bug description: The uploaded image are not available.
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 bug report at: http://bugs.php.net/?id=12760&edit=1