>- see footer for list info -<
Are you missing a couple of #s around the lsdateformat in the output attribute?

<cffile action="Append"
        file="visitorlog.txt"
        output="#lsdateformat(datenow(), dd-mm-yyyy)# IP Address - #address# 
Refering 
Page - #referer# Page Viewed - #page#">


-----Original Message-----
From: Paul Swingewood [mailto:[EMAIL PROTECTED]
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 -<




_______________________________________________________________________
Confidentiality:  This e-mail and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this e-mail and highlight the error.

Security Warning:  Please note that this e-mail has been created in the 
knowledge that Internet e-mail is not a 100% secure communications medium.  We 
advise that you understand and observe this lack of security when e-mailing us.

Viruses:  Although we have taken steps to ensure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure they are actually virus free.
________________________________________________________________________
_______________________________________________

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 -<

Reply via email to