note 9807 modified in Handling file uploads by zak

From: Date: Fri, 08 Dec 2000 08:19:49 +0000
Subject: note 9807 modified in Handling file uploads by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-8523@lists.php.net to get a copy of this message
# Editor's Note # Ideally the mime-type should be set with the # header function. i.e: # header ("Content-Type: image/gif"); Maybe I'm a bit slow on the uptake on this but when attempting to upload images, the server always returned a none on the upload side. After much searching, I discovered setting the default_mimetype to blank solved this problem. It's default is set to text/html. Hope this helps someone else out there... http://www.php.net/manual/handling-file-uploads.php

« previous php.notes (#8523) next »