nbarone Posted April 7, 2009 Share Posted April 7, 2009 Hi, I'm trying to make a basic file upload script. The script works fine for the few jpgs I have uploaded, but I was having trouble uploading MP3 files. I did a print_r($_FILES) and this is what I get with an mp3 file: Array ( [uploadedfile] => Array ( [name] => 00_Emeralds and Diamonds.mp3 [type] => [tmp_name] => [error] => 1 => 0 ) ) what would make it come out like that? Quote Link to comment https://forums.phpfreaks.com/topic/152910-solved-file-uploading-errors/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 7, 2009 Share Posted April 7, 2009 Did you read the php manual section for uploading - http://us3.php.net/manual/en/features.file-upload.errors.php Quote Link to comment https://forums.phpfreaks.com/topic/152910-solved-file-uploading-errors/#findComment-803044 Share on other sites More sharing options...
nbarone Posted April 7, 2009 Author Share Posted April 7, 2009 Thank you, I seen another page with those error codes and I was under the assumption that it would display the string. That page cleared it up, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/152910-solved-file-uploading-errors/#findComment-803056 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.