Page 1 of 1

My previous post - php file upload

PostPosted: Sat Dec 26, 2009 9:25 am
by enzo
Moderator: regarding my previous post - found my problem. Silly to miss. Please don't spend time replying to my previous post about php file upload limits, just delete it. Thanks for your guys good support (really no sarcasm intended). Glad to have a place to post problems where someone actually listens!

PostPosted: Sun Dec 27, 2009 10:14 am
by randy
Hello,

Thank you for the valuable feedback :)

It looks like the post has been deleted.

PostPosted: Wed Jan 13, 2010 9:58 pm
by enzo
Looks like I have another problem. Uploading a file about 2.5Mb returns an error in $_FILES['userfile']['error']: 'UPLOAD_ERR_INI_SIZE' Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini. Can this be changed? I'd like to allow 3Mb uploads or possibly more.

PostPosted: Thu Jan 14, 2010 5:21 am
by randy
Hello,

Sure you can increase 'upload_max_filesize' to 3 MB for your domain. This can be done using a custom php.ini file, which you can place in the directory/folder in which the script resides and set

upload_max_filesize = 3M

If you need our help, please open a ticket at support@canadianwebhosting.com.


--
Regards,
Randy