What's Here?
- Members: 244,278
- Replies: 693,123
- Topics: 113,158
- Snippets: 3,863
- Tutorials: 935
- Total Online: 1,168
- Members: 73
- Guests: 1,095
|
|
Submitted By: wiredwizard
|
|
Rating:
 
|
|
Views: 5,406 |
Language: ColdFusion
|
|
Last Modified: May 9, 2005 |
Instructions: upload file change filefield to your form
and destination
PS dont forget to change form type |
Snippet
<cfif form.MYIMAGE gt "">
<cffile action = "upload"
fileField = "MYIMAGE"
Destination="c:\inetpub\wwwroot\myDirectory\assets\"
nameConflict = "MakeUnique"
Accept="image/*">
<cfset MYIMAGE = cffile.serverfile>
</cfif>
Copy & Paste
|
|
|
Be Social
Programming
Web Development
Reference Sheets
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
|