Re: Checking File Size BEFORE Uploading

From: Date: Mon, 14 Oct 2002 20:18:56 +0000
Subject: Re: Checking File Size BEFORE Uploading
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-119947@lists.php.net to get a copy of this message
Hi John, yes, unfortunately setting the MAX_FILE_SIZE field only works once the files have been uploaded. Thanks for the reply! > From: holmes072000@charter.net (John W. Holmes) > Organization: U.S. Army > Reply-To: <holmes072000@charter.net> > Newsgroups: php.general > Date: Mon, 14 Oct 2002 16:10:48 -0400 > To: "'Monty'" <monty3@hotmail.com>, <php-general@lists.php.net> > Subject: RE: [PHP] Checking File Size BEFORE Uploading > > You can set the MAX_FILE_SIZE in the hidden element of your form, but I > don't think that stops the form from being submitted if the file size is > too large. Basically, the file has to be uploaded before you can tell > what size it is. > > ---John Holmes... > >

« previous php.general (#119947) next »