[phorm] [Phorm:] Re: Log it to a text file

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 17 Jun 2004 16:07:26 -0000

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

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

  MESSAGE:  (#4130) Re: Log it to a text file 
            <http://www.phorm.com/support/?rev=4130> 
  AUTHOR:   Sam 
  DATE:     June 17, 2004 at 12:07 p.m. EST 

  Reply To: (#4129) Log it to a text file 
  Author:   john 
  Date:     June 16, 2004 at 6:08 p.m. EST 

> when I try and log to a text file all I get is the 
> delimiter character , where there should be data. 

> The email that form sends has the data in it, but it 
> does not log to the text file. 

> I have the $PHORM_LOGVAR setup with all the names of 
> the text fields - I use Phrom all the time but cannot 
> seem to figure out what I have done to make it not 
> work in this case. 

> J - 

Commas appear when nothing has been placed into the form field by the visitor 
(left blank). We have several products that can be ordered. This is an actual 
sample run from my form today: 

Define your fields in your PHM file (and I also define my comma to separate 
the items): Any fields where your visitor MIGHT use the comma in the response 
must have the single ' around it so the data will post to the log. 

$PHORM_LDELIM = ","; 
$PHORM_LOGVAR = "AccountID OrderedBy 'Business' PHORM_FROM Shipto PUdate 
PUampm 'ChangeShipto' 'Comment' Phone Payment 'AOAuthCC' 'TOAuthCC' KKCBUT 
KKCCAN KKCCIN KKCGRN KKCMAU KKCSAB KKCSUN KKCTER KKCTIL KKM CHADAYE CHADO 
CHATAN CHCAM CHCHA CHCOB CHCOR CHCRMBG CHJET CHKEE CHBRN CHPLA CHPLU CHROS 
CHSAB CHSLA CHSUN CHTER CHTIL PRADO PRATAN PRCAM PRCHA PRCOR PRCRMBG PRJET 
PRBRN PRPLA PRROS PRSAB PRSLA PRTIL Charts SLOW TOL UVSUP UVSUPF XYL"; 

This is the way the log looks with only 2 items ordered so lots of commas: 

samtest,sam,'samisite.com',email addy here,Pickup at Lambert,06/18/2004,12pm - 
3:30,'','this is a long test comment. I am just going to type in here until it 
is full so I can see how the comment appears on the incoming email order form. 
And did you know that pens disappear when you put them near a 
copier???',407-841-2940,'Swipe Credit Card in Person - PICKUP at 
Lambert','','',,Kwik Kolor Canyon 1 @ $xx.xx = $xx.xx,,,,,,,,,,,,,Colorhard 
Charcoal 4 @ $xx.xx = $xx.xx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 

-Samantha 

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

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:

  • » [phorm] [Phorm:] Re: Log it to a text file