Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
//I upload the file first <cfloop from="1" to="#variables.maxFiles#" index="ii"> <cftry> <cfif StructKeyExists(form,"AttachFile" & ii) && len(trim(Form["AttachFile" & ii]))> <CFFILE ACTION="UPLOAD" FILEFIELD="AttachFile#ii#" DESTINATION="#variables.filelocation#" NAMECONFLICT="makeunique"> <cfset Attachments=ListAppend(variables.Attachments,cffile.serverfile)> //here I get the size of the file in the list <cfset GetFileSize=ListAppend(variables.GetFileSize,cffile.filesize)> </cfif> //here I want to assign them into variable so I can insert the value into the database <cfloop list="#variables.GetFileSize#" index="fg" delimiters=","> <cfset variables["filesize" & fg] = #fg#> </cfloop> </cfloop>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Passing value to a stored procedure||8||120|
|Coldfusion Complex Structure Reference||4||53|
|Using coldfusion <cfexecute> to restore mysql database||7||86|
|Remove execute permissions from upload directories||4||40|
Join the community of 500,000 technology professionals and ask your questions.