On Nov 15, 2007 10:23 AM, Claude Schneegans <[EMAIL PROTECTED]>
wrote:

>  >>Aren't spambots faking that these days ?
>
> They are able to fake about anything, except may be the IP address and
> script execution.
>

Just wondering...
Do spambots use javascript? I haven't paid much attention to the fact if
this cuts down on spam or not. Wrap the form in a cfsavecontent tag and use
javascript to display the form.


<cfoutput>
<!--- Save form as cf variable so we can display with js --->
<cfsavecontent variable="sFormContent">
    <cfform action="" method="post" scriptsrc="">
        <cfinput type="text" name="fieldName">
    </cfform>
</cfsavecontent>
<!--- Here we display the form with js and also a noscript message --->
<div style="margin:10px 0px 0px 25px;">
    <script type="text/javascript" language="javascript"><!--
    document.write('#JSStringFormat(sFormContent)#');
    //-->
    </script>
    <noscript>
        <div style="padding:8px; background-color:##FFFFCC;color:red;">
            <p>You must enable javascript in order to submit use the form on
this page.<br />
            Enable javascript and refresh this page to continue.</p>
        </div>
    </noscript>
</div>
</cfoutput>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293434
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to