cffile - upload only image file cffileUploadImge.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>cffile tag: how to upload only image file in coldfusion</title> </head> <body> <h2 style="color:DodgerBlue; font-style:italic">cffile example: Upload Image</h2> <hr width="350" align="left" color="PaleVioletRed" /> <cfset UploadFolder="C:\UploadImage"> <h3 style="color:DeepPink; font-style:italic;"> <cfoutput> <cfif DirectoryExists(UploadFolder)> <cfif IsDefined("Form.UploadFile") AND Form.UploadFile NEQ ""> <cftry> <cffile action="upload" filefield="UploadFile" destination="#Uplo...
Android, .NET C#, Flutter, and Many More Programming tutorials.