Jump to content

Can I create an error on the user side for uploads higher then PHP.ini max?


scrubbicus

Recommended Posts

So I have a classifieds website and the person(s) upload images, unfortunately whenever somebody uploads an image larger then 2MB I can't return an error so the script breaks or something because nothing posts through like it does when I upload an image less then 2MB.

 

How can I catch an error like this? I'm unable to change the PHP.ini file because I'm on a host.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.