scrubbicus Posted July 9, 2009 Share Posted July 9, 2009 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. Link to comment https://forums.phpfreaks.com/topic/165378-can-i-create-an-error-on-the-user-side-for-uploads-higher-then-phpini-max/ Share on other sites More sharing options...
ignace Posted July 9, 2009 Share Posted July 9, 2009 http://www.php.net/manual/en/features.file-upload.post-method.php Where is the time programmers read manuals? Am I already that old? Link to comment https://forums.phpfreaks.com/topic/165378-can-i-create-an-error-on-the-user-side-for-uploads-higher-then-phpini-max/#findComment-872179 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.