<!--- Kill extra output. ---> <cfsilent> <!--- Param the URL id. ---> <cfparam name="URL.id" type="string" default="" /> <!--- Try to decrypt it and create a text file. ---> <cftry> <!--- Decrypt the value. ---> <cfset URL.id = Decrypt( URL.id, "that-is-tasty!", "CFMX_COMPAT", "HEX" ) /> <!--- Create the text file that will mark the form submission as valid. Just store it as an empty text file since all we are going to be doing is checking for its existence. ---> <cffile action="write" file="#ExpandPath( './spam/#URL.id#.txt' )#" output="" /> <!--- Catch any errors. ---> <cfcatch> <!--- Something went wrong. ---> </cfcatch> </cftry> <!--- Return an empty image. ---> <cfheader name="content-length" value="0" /> <cfcontent type="image/gif" reset="true" /> </cfsilent>