You can only use the content lenght *after* the file has been uploaded...

Regards,

Howie

----- Original Message -----
From: "sebastian palmigiani" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 4:22 PM
Subject: Re: Picture Size


> on 4/12/01 1:20 PM, William J Wheatley at [EMAIL PROTECTED] wrote:
>
> > Has anyone come up with a way to check the size of a picture being
uploaded
> > before it actually gets uploaded?
> > Instead of having to do it on the server side afterwards?
>
>
> Try:
>
> <cfif CGI.CONTENT_LENGTH GT XXXX>
>
> </cfif>
>
> Sebastian
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to