i have a problem in uploading large file. web hosting allow me to send file 256M, Code is working for small files but i try to upload 25M size file page return back without any error, and nothing happened. i also use "set_time_limit(0);" for unlimited request time

In error log i got this message

"PHP Warning: POST Content-Length of 21429758 bytes exceeds the limit of 8388608 bytes in Unknown on line 0"

any idea?

Could be this action is out-growing your memory limit. For such large files, I think you're better off with plUpload.

is there any way to cop with out-growing memory limit?

IF you are allowed, you can increase it in the PHP.INI, but this is usually not the case.

working on ini_set("upload_max_filesize","400M")
but it seemed not working,
i think i have to contact with hosting company to change the limit.