CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Check and limit size of image file to be uploaded

Print topic Send  topic

Author Message
jmccann
Posted: 07/05/2002, 6:17 AM

I am building a site where visitors will be able to upload image files that can be subsqeuently displayed against their published details on certain web pages.
As you can imagine, I don't want them uploading large format and large file sizes. Can anyone advise how I can check for image and file size within CC before allowing the visitor to upload?
Alex Alexapolsky
Posted: 07/05/2002, 6:35 AM

This should be handled in php.ini , something like max upload size.
jmccann
Posted: 07/08/2002, 12:37 PM

I was thinking more of getting ASP somehow to check after user has browsed for file from his file system. Is there anyway I can check file properies at this point before he uploads?
Padriac
Posted: 01/07/2003, 3:02 PM

It is easily accomplished in ASP, hopefully someone can help you with it for ASP.

If anyone needs it in PHP just post in this thread and I will put it up.
Padriac
Marcus
Posted: 01/07/2003, 5:45 PM

Padriac, just post it up please!

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.