Posted by Mike Youell on 04/09/06 23:33
Use this code and check the 'error' entry in the $_FILES array. if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { // upload ok } else { // upload error print_r($_FILES); } PHP file upload error values and their explanations can be found here: http://uk2.php.net/manual/en/features.file-upload.errors.php Thanks, Mike Youell.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming