Home | Advertising Info150 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Re: Checking Image Size with asp or vbscript
From: dzzie
Date: 12/28/2000 4:53:29 PM
IP: 216.163.113.155



 

think that is goign to be a tricky one because you inherantly dont have the read access to the file system to use filelen()...my guess is that you are going to have to let them upload what they want then validate it on the server's disk with the filelen() method...and if it is to big just have it return a error...or you know what...when they first click the upload button (if you are doign this through the input type=file) the browser should send in the http header to initate the transfer a content-length: attribute...you could just check this header before the file is transfered and abort the process on them somehow (a redirect to a warnign pages comes to mind but might not give them warning because of the type of event it is in response to) *shrugs* i dunno know..validating on the servers disk would probably be the quickest to program and debug...just post a big warning on max file size next to upload controls so your sight dosent get web wacked from 1MB image uploads...

Previous Message

Follow Up - Re: Checking Image Size with asp or vbscript - suki 12/28/2000 7:37:20 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com