You are here: Re: new to uploading files... « PHP Programming Language « IT news, forums, messages
Re: new to uploading files...

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация