My previous post - php file upload

This is a good starting point

My previous post - php file upload

Postby enzo » Sat Dec 26, 2009 9:25 am

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!
enzo
 
Posts: 5
Joined: Tue Aug 29, 2006 9:40 am

Postby randy » Sun Dec 27, 2009 10:14 am

Hello,

Thank you for the valuable feedback :)

It looks like the post has been deleted.
randy
 

Postby enzo » Wed Jan 13, 2010 9:58 pm

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.
enzo
 
Posts: 5
Joined: Tue Aug 29, 2006 9:40 am

Postby randy » Thu Jan 14, 2010 5:21 am

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
randy
 


Return to General Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron