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. Link to comment https://forums.phpfreaks.com/topic/81284-file-upload-problems/ 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 Link to comment https://forums.phpfreaks.com/topic/81284-file-upload-problems/#findComment-412521 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 Link to comment https://forums.phpfreaks.com/topic/81284-file-upload-problems/#findComment-412522 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! Link to comment https://forums.phpfreaks.com/topic/81284-file-upload-problems/#findComment-412526 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.