You cannot set a default value for security reasons. Otherwise you could alter this field to upload peoples system files or outlook files etc etc Hosting companies running CFMX Professional should have tags like cffile/cfdirectory/cfexecute/cfregistry/cfobject/cfftp/cfpop disabled, if they do not then stay away from them as their servers are totally insecure. Some hosts just leave everything enabled and say you can do what you want, which is fine as long as your not bothered about customers being able to crash the server, delete your website, steal your code and database etc. The better hosts run CFMX enterprise and provide you with a security sandbox for your site so you can securely use all the usually disabled tags. And this is in fact what we do.
Russ Michaels Macromedia Certified ColdFusion Professional CFMX Hosting - Macromedia ColdFusionMX Hosting Phone: 0845 456 3487 Tech Support: 0906 9607800 FAX: 0709 2212 636 WEB: www.cfmxhosting.co.uk Helpdesk: www.cfmxhosting.co.uk/helpdesk ---------------------------------------------------------------------------- ----------------------- Please use the support helpdesk on our web site to submit support tickets. Join our ColdFusion Developer discussion lists and forums at www.cfdeveloper.co.uk. ---------------------------------------------------------------------------- ----------------------- > -----Original Message----- > From: Paul Swingewood [mailto:[EMAIL PROTECTED] > Sent: 02 August 2004 09:46 > To: [EMAIL PROTECTED] > Subject: [ cf-dev ] Default value? > > <input type="file" size="35" name="smallpic" value="#ItemImage#"> > > How can I set the default value for an input when the type is > file? (used when the client wants to modify) > > Also this application is part of the backend for my shoe shop > thingy. All I need to do is upload/modify two pictures that > go with a product (thumb and bigger pic). When I eventually > get round to hosting this live with some nice hosting company > are there going to be issues using "input type=file". I > presume this will require a sandbox or something..? > > I have never used any sandboxes. Is there anything I should > take into consideration when writing the code? > > Regards - Paul > > > > -- > These lists are syncronised with the CFDeveloper forum at > http://forum.cfdeveloper.co.uk/ > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* :: > *ActivePDF provided by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow > provided by proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists > hosted by gradwell.com* > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
