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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to