>- see footer for list info -<
Also you may need to put the date format dd-mm-yyyy inside quotes, which may
screw the attributes.
Might be better off creating the display date outside of the CFFILE tag.
<cfset DispDate = lsdateformat(now(), "dd-mm-yyyy")>
<cffile action="Append"
file="e:\inetpub\wwwroot\store\visitorlog.txt"
output="#DispDate# IP Address - #address# Refering Page - #referer#
Page Viewed - #page#">
-----Original Message-----
From: Paul Swingewood [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 16:59
To: [EMAIL PROTECTED]
Subject: RE: [CF-Dev] cheap & cheerful
>- see footer for list info -<
Sorry about that its late in the day and my head hurts ....
I have this ....
<!--- 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="e:\inetpub\wwwroot\store\visitorlog.txt"
output="#lsdateformat(datenow(), dd-mm-yyyy)# IP Address - #address#
Refering Page - #referer# Page Viewed - #page#">
Still doesn't write to the visitorlog.txt file though :(
_______________________________________________
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 -<