Hey guys,
Been trying to get a php file upload script working and the forums have helped, but still can't figure it all out. I think It may be something beyond my control on the server side.
I've checked in cPanel and php's max file size is 20M, yet I'm only able to upload ~8Mb files. In testing I found that if files are larger, the $_FILES array is empty (ie - so no error messages), but $_SERVER[content_length] has a value. This leads me to think that the file is larger than the php.ini directive post_max_size from some research. I could be completely off too, I'm not the most familiar with this.
The code I'm using can be seen at:
http://joshb.co.cc/upload.php
You can test it to see if you can generate a informative error, or just see the situation. Try with an mp3.
acct: joshb2
Any help is much appreciated!
Cheers,
Josh