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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cohen at cythere dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 04:01:31 2025 UTC