[phorm] [Phorm:] Re: add a date in log file

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 17 Jun 2004 22:43:49 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4136) Re: add a date in log file 
            <http://www.phorm.com/support/?rev=4136> 
  AUTHOR:   sam 
  DATE:     June 17, 2004 at 6:43 p.m. EST 

  Reply To: (#4131) add a date in log file 
  Author:   Sam 
  Date:     June 17, 2004 at 12:10 p.m. EST 

> I am logging the forms that are submitted to a text 
> file just fine. 

> But I would like the log to also show WHEN (date/time) 
> the form was sent. How do I do that? 

> Right now if 3 forms are sent on 3 different days, I 
> would never know by looking at the log that just holds 
> the CONTENTS of the form but not submittal date. 

> Appreciate any help here! 

> -Samantha 

UPDATE: I was able to come up with a timestamp in the text log. Not a perfect 
solution though. Can't figure out how to get accurate time for us, or will it 
always be based on the server time? When I submitted it from MY machine (at 
1:08) I get this logged: '06/17/04,12:08:42,CDT' using this code in my PHM 
file: 
$TimeStamp = date("m/d/y,H:i:s,T"); 
$PHORM_LINEBRK = "CRLF"; 

-Sam 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: