>- see footer for list info -<
here goes
datenow() isn't a function
<CFSET address = cgi.remote_addr>
<CFSET referer = cgi.http_referer>
<CFSET page = cgi.script_name>
<CFIF NOT LEN(referer)>
<CFSET referer = "unknown">
</cfif>
<cffile action="Append"
file="c:\visitorlog.txt"
output="#lsdateformat(now(), "dd-mm-yyyy")# IP Address - #address#
Refering
Page - #referer# Page Viewed - #page#">
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Swingewood
Sent: 09 November 2004 16:46
To: [EMAIL PROTECTED]
Subject: [CF-Dev] cheap & cheerful
>- see footer for list info -<
Just as a cheap and cheerful quickie I set t his up in my application.cfm
<!--- Log Visitors --->
<CFSET address = cgi.remote_addr>
<CFSET referer = cgi.http_referer>
<CFSET page = cgi.script_name>
<CFIF NOT LEN(referer)>
<CFSET referer = "unknown">
</cfif>
<cffile action="Append"
file="visitorlog.txt"
output="lsdateformat(datenow(), dd-mm-yyyy) IP Address - #address#
Refering
Page - #referer# Page Viewed - #page#">
It doesn't seem to work and I don't know why ...?
Regards - Paul
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
>-<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<