Re: uploading files.

From: Date: Tue, 28 Nov 2000 11:59:24 +0000
Subject: Re: uploading files.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27583@lists.php.net to get a copy of this message
Remember to add a MAX_FILE_SIZE hidden field just before the TYPE="file" field, also... the number for the MAX_FILE_SIZE is in bytes... so if you want to allow uploads up to 1MB, add something like <INPUT TYPE=HIDDEN NAME=MAX_FILE_SIZE VALUE=1073741824> Check the "Deepak Chawla" <dchawla@DeveloperLAB.unl.edu> wrote in message news:Pine.LNX.4.21.0011272318300.12592-100000@DeveloperLAB.unl.edu... > Hi! > > I need to provide a feature on my website where users can upload and > download files. > I tried using a form with the uploadfile element and sending the file > using the post method. I got an error message saying that the file size is > too large. > Is there any way i can allow users to send large files to the server ? > > thanks > -deepak > > > -- > 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 (#27583) next »