Re: max_file_size problem
| From: | Marek Kilimajer | Date: | Mon, 28 Apr 2003 09:26:58 +0000 |
| Subject: | Re: max_file_size problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145491@lists.php.net to get a copy of this message | ||
<input type="hidden" name="MAX_FILE_SIZE" value="100000"> specifies the maximum allowed file size, and your browser obeys this limit. Simply remove this hidden field or change its value to what you desire. What browser is it anyway?
Franz Max wrote:
Hi, I've made the following form: it asks the user to upload new logo image. <form name="looks_conf" enctype="multipart/form-data" action="<?php print $PHP_SELF;?>" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000"> Logo: <input type="FILE" name="header_logo"> <input type="Submit" name="update" value="Save"> </form> But. If I try to load a picture larger, than 100000 byte, after the submit the browsers address bar does not change, but "The page cannot be view" standard page comes. What is wrong? How the size bound works? Thanx Franz