laPistola Posted December 3, 2010 Share Posted December 3, 2010 Hello Im trying to upload mp3s from a form. In the form I have the MAX_FILE_SIZE set at 90000000 (so big to make sure it wasn't my maths). I have checked with phpinfo() and the max upload is set at 8mb. The mp3s will be between 3-4mb in size. I have uploaded small mp3's successfully (440k) so i know the script is working fine, however when i try to upload one at around 3mb it fails, even tried different file sizes in the same ball park size. I suspect the server is blocking them. Any ideas on a fix? Thank you. No script posted as i say its all working. Link to comment https://forums.phpfreaks.com/topic/220596-file-upload-problem/ Share on other sites More sharing options...
BlueSkyIS Posted December 3, 2010 Share Posted December 3, 2010 check php max_execution_time and max_input_time. your upload might be timing out. Link to comment https://forums.phpfreaks.com/topic/220596-file-upload-problem/#findComment-1142736 Share on other sites More sharing options...
sweeb Posted December 3, 2010 Share Posted December 3, 2010 Along with upload_max_filesize, make sure you also increased post_max_size otherwise it doesn't really do any good Link to comment https://forums.phpfreaks.com/topic/220596-file-upload-problem/#findComment-1142744 Share on other sites More sharing options...
laPistola Posted December 6, 2010 Author Share Posted December 6, 2010 Cheers No idea why i haven't came across upload max filesize before. Link to comment https://forums.phpfreaks.com/topic/220596-file-upload-problem/#findComment-1143561 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.