|
Posted by Daniele on 02/15/07 13:08
jodleren wrote:
> On Feb 15, 2:51 pm, Daniele <"dmassaiu{["@]}yahoo.co.uk> wrote:
>> i had a similar problem in safari 2.0.3 resolved in 2.0.4
>> just close the tag files
>> <input type="file" name="newfile" size="25"/>
>>
>> maybe like this
>> <form enctype="multipart/form-data" action="uploader.php" method="POST">
>> <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
>> <input name="uploadedfile" type="file" />
>> <input type="submit" value="Upload File" />
>> </form>
>
> Will test.
> Question: I see the MAX_FILE_SIZE, have seen it elsewhere.... any
> special reason for that?
>
> BR
> Sonnich
>
from http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=php3
In the above HTML/XHTML code, the MAX_FILE_SIZE form field states that
the file to be uploaded should not be larger than 1048576 bytes. If a
browser supports this form field, it will not allow the user to choose a
file that is larger than 1048576 bytes. So, the user does not have to
wait for a file to upload to the server in order to find out whether it
is too large or not. However, at the time of writing, we cannot find any
WAP browsers that support the MAX_FILE_SIZE form field. Also, both IE 6
and Firefox 2.0 do not understand this form field.
[Back to original message]
|