There's a step-by-step tutorial on my site at
http://afpwebworks.com/Index.cfm?pid=111335

It doesn't do precisely what you want, but ought to get you through
the tricky parts.

Incidentally limiting the file size wont help you with the timeout
problem, because if a file's too big, it's uploaded first, then
rejected.  Same with unwanted file types.    So you'd still have the
probem of large amounts of data being uploaded.   Once they're
uploaded, you might as well accept them and process them rather than
reject them.

The way to restrict the amount of data being uploaded on one page is
to limit the number of images in the upload form.

See the tutorial on my site, and you'll see how you can upload 5
files.   I do it with CFCs these days but the code in the totorial
works fine.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



> >>
> Thanks for the reply
> Yes very goo dpoint. I will limit the file size and I will limit the numer to 
> 3 upload. Can you help me fidn out a way that I can upload 3 images through 
> one form and insert the path/name of the images to the database for the 
> specific animal name? As I said each form has a text field that the user 
> inserets tha name and then 3 browse fields that the user can upload the 
> images. I want rename the images on a way that they have a part of the animal 
> name (that comes from the textfield) and insert them into the database for 
> the specific animal.
> Thanks
> Ali
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277742
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to