grippat Posted November 20, 2007 Share Posted November 20, 2007 I know you can change the maximum file size PHP will accept in an upload in the php.ini file. Is there a way it can return an error if it exceeds this limit? Right now the form just resets and nothing happens if someone uploads a file larger than the size set in php.ini Link to comment Share on other sites More sharing options...
justsomeguy Posted November 20, 2007 Share Posted November 20, 2007 Yes, it returns an error, you're just not checking for it. Check the reference pages:http://www.php.net/manual/en/features.file-upload.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.