Hi All,
I must a file download with used html form, for example with this code:

<form enctype="multipart/form-data" method="post" action="_URL_">
  <input type="file" name="userfile">
  <input type="submit">
</form>

How can upload only GIF or JPG file?
I see for file size limit used a hidden parameter with name "MAX_FILE_SIZE"
for example :
<input type="hidden" name="MAX_FILE_SIZE" value="1024">
for limit file size in 1KB, Where i found any parameter for upload file ?

Thanks for answer and excuse me for poor english

Mad Nas




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to