PHP File Upload Problem

If you are facing any problem in uploading files using PHP check out these things
In PHP.ini
upload_max_filesize = 50M
post_max_size = 80M
memory_limit = 100M
max_execution_time = 60
max_input_time = 60
output_buffering = Off
set the values as you want but
post_max_size should be >=upload_max_filesize
memory_limit >upload_max_filesize
max_execution_time should be set as per the internet connection speed.
LimitRequestBody is an Apache config, so you can find it in the apache configuration file. If you don't have access to that file, you can use an .htaccess to se it to zero.
Set LimitRequestBody 33554432 to limit to 30MB.