note 39054 added to function.move-uploaded-file

From: Date: Thu, 15 Jan 2004 15:27:51 +0000
Subject: note 39054 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-63623@lists.php.net to get a copy of this message
I have been building a system to upload images, after performing move_uploaded_file the resulting JPEG is the correct file size yet seems to lack Header info like height and width and consequently is not recognised by image viewers. Strangely if i then use imagecreatefromjpeg to load to RAM then resize the image and imageJPEG to save to disk, the resized images are viewed correctly. Any ideas whats happening? ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39054 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39054&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39054&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63623) next »