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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Fri Apr 19 11:01:28 2024 UTC