gardan06 Posted December 12, 2007 Share Posted December 12, 2007 i was doing a routine file uploader, but for some reason, it only stores the $_FILES['upload']['name'] value and not the others. here's the reslt of print_r($_FILES): Array ( [upload] => Array ( [name] => file.xls [type] => [tmp_name] => [error] => 1 => 0 ) ) can anyone tell me what the problem is with my script? help is greatly appreciated. thanks. Quote Link to comment Share on other sites More sharing options...
slpctrl Posted December 12, 2007 Share Posted December 12, 2007 Why don't you post the script? It's hard to diagnose a problem by looking at an array Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 12, 2007 Share Posted December 12, 2007 The meaning of the error is in the manual - http://www.php.net/manual/en/features.file-upload.errors.php Quote Link to comment Share on other sites More sharing options...
gardan06 Posted December 12, 2007 Author Share Posted December 12, 2007 The meaning of the error is in the manual - http://www.php.net/manual/en/features.file-upload.errors.php ah awesomeness! turns out, my error is that the file is larger than what php.ini allows. thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.