Using something like this should work for you:
<form action="somepage.cfm" method=post enctype="multipart/form-data">
<input type="file" name="photo" accept="image/jpeg,image/gif">
</form>
Shane Witbeck
-----Original Message-----
From: Daniel Schmid [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 20, 2001 6:22 AM
To: Fusebox
Subject: image upload with cffile
I run into some problems with the fileupload and the variable scope of
<cffile>
seems that <cffile> requieres a form variable (like form.image) and does
not recognise attributes.image.
I tried to change scope:
<cfset form.image=attributes.image> with no succes.
any help on this newbie question appreciated.
Ananda
Z�rich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists