Page 1 of 1

Uploading large files

Posted: Sat Dec 31, 2005 9:54 am
by Bill H
I can find pieces of this subject, but not enough to really put it all together.

I've been using the file uploading process successfully, but now I need to override the maximum file size which is defined in the PHP configuration file on the server. It's a shared host and I can't change the ini file directly, so what do I need to do in addition to setting the MAX_FILE_SIZE?

I'm okay with the temp location and moving it, and with access rights. I just need to get it to quit telling me the file is too big.

Thanks (in advance).

Posted: Sat Dec 31, 2005 12:32 pm
by Ambush Commander
.htaccess although if your host disabled that too, you're sunk.

Posted: Sat Dec 31, 2005 12:47 pm
by Bill H
What do I do in .htaccess?

Posted: Sat Dec 31, 2005 12:51 pm
by Ambush Commander
I believe you use phpflag... but actually I'm not really sure.

Posted: Sat Dec 31, 2005 1:43 pm
by josh
you can change it with ini_set in versions <= 4.2.3.