note 18793 deleted from features.file-upload by victor
| From: | victor@php.net | Date: | Sat, 24 Aug 2002 15:26:37 +0000 |
| Subject: | note 18793 deleted from features.file-upload by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35502@lists.php.net to get a copy of this message | ||
There seems to be something weird going on when uploading a picture and it's headers. If a file
is created on the server through move or copy - the file can apparently only be seen and used
through the img tag in html.
So in other terms - you create a database entry (id, name, whatever) for the upload, and construct
the name of the uploaded picture that way. Refer or call it by the IMG tag - it will show correctly.
When trying to open the file independently in a browser or GIMP or Photoshop - there seems to be
something wrong with the header of the file, and the application will not show the picture.
Maybe this is a bug, dunno - but it is something strange that kept me searching for some time :(