Re: Can I detect size of files which are too large to upload?

From: Date: Fri, 18 Jun 2004 18:12:13 +0000
Subject: Re: Can I detect size of files which are too large to upload?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-188601@lists.php.net to get a copy of this message
Here's a professional explanation: http://de3.php.net/manual/en/features.file-upload.errors.php > On Fri, 18 Jun 2004 10:50:04 -0700, Pablo Gosse <gossep@unbc.ca> wrote: > > > > Hi folks. I'm just tweaking the file manager portion of my CMS, and am > > wondering if there is any way I can identify the size of an uploaded > > file which exceeded the upload_max_filesize? I'd like to be able to > > tell the user the size of the file they tried to upload, in addition to > > telling them the allowable maximum size. > > > > It would seem logical to me that I would not be able to do this, since > > if the file exceeds the limit set by upload_max_filesize then the upload > > should not continue past that point. > > > > Is this an accurate assumption? > > > > Cheers and TIA. > > > > Pablo -- Ashwin Purohit

« previous php.general (#188601) next »