php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12760 The uploaded image are not available.
Submitted: 2001-08-15 06:14 UTC Modified: 2001-08-15 07:31 UTC
From: cohen at cythere dot com Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
 [2001-08-15 06:14 UTC] cohen at cythere dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-15 07:31 UTC] sniper@php.net
Ask your service provider to update the PHP to 4.0.6.
This is fixed.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC