[thelist] file upload class problems

Nan Harbison nan at nanharbison.com
Tue Sep 1 13:04:25 CDT 2009

Ah yes, it turns out PHP by default limits file size to 8 MB, so you have to
make changes to the php.ini file to override that.

this limits file size to 8 MB

So I added this to the php.ini file:

memory_limit = 100M
post_max_size = 100M
file_uploads = On
upload_max_filesize = 100M 

A new lesson for me, I had no idea about this.

Thanks for your help!

-----Original Message-----
From: Jeremy Weiss [mailto:eccentric.one at gmail.com] 
Sent: Tuesday, September 01, 2009 1:55 PM
To: nan at nanharbison.com; thelist at lists.evolt.org
Subject: RE: [thelist] file upload class problems

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On
> Behalf Of Nan Harbison
> I have created a file upload class for a school district to receive 
> proposals from architects for a school renovation project. Some of the 
> larger files are timing out before the file is uploaded, so it doesn't 
> get uploaded, and I am wondering if there is something I can do about
> I have it set to give error messages if the file type is wrong, or it 
> is
> large a file (but the max file size is 100 mg), but there is only an 
> error from the browser, not one of my error messages, that says it has 
> timed
> Could this be that the file sizes (one was 35 mg) is choking the upload?


Have you tried increasing the value of max_execution_time in your php.ini or
.htaccess file?


More information about the thelist mailing list