Re: limitation of file upload??

From: Date: Tue, 13 Feb 2001 10:21:15 +0000
Subject: Re: limitation of file upload??
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-39390@lists.php.net to get a copy of this message
well! Nice question. I haven't gone beyond 2.5 MB on any occassion. but I guess theoretically this should be possible by setting the maximum upload file size setting using the methods already discusssed. Another thing that you might want to look out for in this case would be the maximum execution time of the script take a look at the max_execution_time setting in php.ini and the set_time_limit() function in the php manual. don't forget to tell me the results of this experiment of yours. :) :) regards Ankur Verma HCL Technologies A1CD, Sec -16 Noida, UP India .----- Original Message ----- From: "John LYC" <john@edlabs.com> To: "Ankur Verma" <averma@noida.hcltech.com> Cc: "PHP List" <php-general@lists.php.net> Sent: Tuesday, February 13, 2001 3:46 PM Subject: Re: [PHP] limitation of file upload?? > Hi.. > can i upload a 50 Mb file thur this method?.. > any complication? > john > > Ankur Verma wrote: > > > 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" <john@edlabs.com> > > To: "PHP List" <php-general@lists.php.net> > > 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: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39390) next »