upload file size > 2MB

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ina
Forum Newbie
Posts: 5
Joined: Tue Apr 30, 2002 3:38 am

upload file size > 2MB

Post by ina »

is php can upload the file that have a big size greater that 2MB. cause i try to upload the other files < 2MB and it was successfully but the file size 3.5MB is fail.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

The maximum upload file size is set in the php.ini - look for the lines:

Code: Select all

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
I'm not sure what you can do about it if you don't have access to the php.ini though.

Mac
Post Reply