note 10473 added to Handling file uploads

From: Date: Fri, 05 Jan 2001 17:05:31 +0000
Subject: note 10473 added to Handling file uploads
Groups: php.notes 
Request: Send a blank email to php-notes+get-9410@lists.php.net to get a copy of this message
If you use fread() to read the $userfile into a variable, and the file is binary, make sure that magic_quotes are set off. Otherwise it corrupts your binary datastream. http://www.php.net/manual/features.file-upload.php

« previous php.notes (#9410) next »