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. Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.