#20 should check for too big error code in mp3 upload

open
nobody
demo (2)
5
2007-03-13
2007-03-13
No

In the api_demo/index.php, it would be great to check $_FILES['fileData']['error'],'error' before using tmp_name of the uploaded file, as if it's too big (quite easy with a MP3), it won't be usable.

Checking the error (for example 1 : UPLOAD_ERR_INI_SIZE, see http://fr3.php.net/manual/fr/features.file-upload.errors.php\) could solve the issue.

Best regards,

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks