If you are going to have the general public uploading files, I'd suggest not allowing as many as 10 images per page - you are likely to get timeout problems. I'd suggest only 5 or even as few as 3 images per page.
What I've found on my pages is that if users just take the picture off their digital camera, it can be as big as 3mb or 4mb and if you're uploading 10 of those you'll have 30mb-40mb being uploaded. that'll take too long and either the pages will timeout or the users will think nothing's happening and hit reload or go elsewhere. On the other hand if the users are interntal users in an organisation, so you can have a bit more control over what they do, you might get away with 10 images on the page. 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 > Wow that's a great help. just I need some more guide about the above code. > Let me explain my questions. I want to upload 10 images of an animal to the > database. I have one textfield for the name of the animal and 10 fields for > images. > My first question is: > Can I use the name that the user inserts in the text field as a part of each > file name? for example instead of > result = "file1.serverfile" > result = "file2.serverfile" > > I use this one: result ="#FORM.name#1.serverfile" > result ="#FORM.name#2.serverfile" > > and then if I can do this, how can I set the code > INSERT INTO tblproducts (image1) VALUES ('#file1.serverfile#') > to fit the new naming? > Thanks alot > Ali > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277718 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4