Re: file uploads

From: Date: Mon, 01 Dec 2003 13:36:02 +0000
Subject: Re: file uploads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171459@lists.php.net to get a copy of this message
PHP first gives the file a temporary name on a temporary location. This name is not the same as the name given in the upload form. I think the temp filename is in the $_FILES array too, do a print_r($_FILES) to check.
Now, here's the strange bit, if I call my method and just use move_uploaded_file() then the image is saved correctly, so I know it's not the permissions, could someone have a little look at my method and let me know if there's anything wrong with it please


« previous php.general (#171459) next »