954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

file upload size problem

Hi
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?

kamran_FrizCon
Light Poster
33 posts since Jul 2009
Reputation Points: 10
Solved Threads: 4
 

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

pritaeas
Posting Expert
Moderator
5,483 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

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

kamran_FrizCon
Light Poster
33 posts since Jul 2009
Reputation Points: 10
Solved Threads: 4
 

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

pritaeas
Posting Expert
Moderator
5,483 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

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.

kamran_FrizCon
Light Poster
33 posts since Jul 2009
Reputation Points: 10
Solved Threads: 4
 
pritaeas
Posting Expert
Moderator
5,483 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: