Help! uploading big files with PHP

I am trying to upload a 9.5M file through a PHP script interface. It seems like the max size for file uploads in PHP is 8M by default.

Is there anyway I can change this? I believe the variable upload_max_filesize in the php.ini file can be set but can I change the php.ini script?

If so, how would I do that? Can I just make a copy to my directory where the script is?..and if that works, hope that the main one doesn’t change…?

Thanks!

(sigh…) Probably the single most asked, and answered, question in these forums…


http://wiki.dreamhost.com/Custom_PHP.ini

…and more…the search function of either the forums, or the wiki will help you find them.

–rlparker

The easiest way is to STOP using php for uploads. But everyone wants that.

Can we convince DH to do something like the flashplayer for uploads?

Wholly - Use promo code WhollyMindless for full 97$ credit. Let me know if you want something else!

there is a script called modpowupload that uses php and generates a flash movie to upload files and you can get it for free if you don’t remove their advert, here is the link to them (http://www.element-it.com/MultiPowUpload.aspx).

Hope it help, but the problem may still exist as it uses php to determine the size, type and upload dir etc.

why not just use DH webftp?

there should be a module/plugin so that users could enable anonymous access for some folders where web users could user webftp to upload.
someone should sugest that one their development site


BUGabundo :o)
promo here
50$ discount with promo code “BUG50” on ALL plans
Free lifetime Domain with “BUGDOMAIN” promo code

DH’s webftp uses PHP as well, and is thus limited by the same amount of memory (7-9meg).

you are right. my bad


BUGabundo :o)
promo here
50$ discount with promo code “BUG50” on ALL plans
Free lifetime Domain with “BUGDOMAIN” promo code