The maximum filesize for file uploads is either set in the php.ini file
using the setting
upload_max_filesize = 2M ; Maximum allowed size for uploaded files
or you can also specify the maximum file upload size at runt time as follows
<FORM ENCTYPE="multipart/form-data" ACTION="_URL_" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000">
Send this file: <INPUT NAME="userfile" TYPE="file">
<INPUT TYPE="submit" VALUE="Send File">
</FORM>
consult the following section of the php manual for more info
http://www.php.net/manual/en/features.file-upload.php
hope that helps
regards
Ankur VermaHCL TechnologiesA1CD, Sec -16Noida, UPIndia
----- Original Message -----
From: "John LYC" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 3:24 PM
Subject: [PHP] limitation of file upload??
>
> is there limitations on file upload.. such as file size when using
> <input type=file>???
>
> thanks
>
>
>
> --
> PHP General 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]
--
PHP General 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]