Re: SetHeader not Working
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67488
interpreted = N
texte = Do you know you have to be approved to hold cc information legally? =Unless you are certified, you are not supposed to store cc information. =New rule.-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfClint DavisSent: Tuesday, June 13, 2006 7:06 AMTo: WebDNA TalkSubject: SetHeader not WorkingI want to wipe the credit card information from orderfiles older than 30days. I'm using listfiles on my orders folder and adding each to a temp =db.Then, I search the temp db to find orders over 30 days old. Finally, I =usesetheader to remove the CC info.When I run the script below, the date in the orderfile is changed to =today,and the CC info is not altered. Anyone see a problem with the code?MacOS X 10.4.6 | WebDNA 6.0a[delete db=3Dadmin/orders-tmp.db&neIDdata=3Dfind_all][listfiles products/Orders/] [orderfile file=3Dproducts/Orders/[filename]] [append =db=3Dadmin/orders-tmp.db]ID=3D[filename]&THEDATE=3D[date][/append] [/orderfile][/listfiles][search db=3Dadmin/orders-tmp.db&lsTHEDATEdatarq=3D[mathdate]{[date]}-{00/30/0000}[/math]&THEDATEsort=3D1&THEDATEtype=3Ddate] [founditems] [THEDATE]|[ID]
[setheader=20file=3Dproducts/Orders/[ID]]date=3D[THEDATE]&acccountNum=3D&expMonth=3D&e=xpYear=3D[/setheader] [/founditems][/search]-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to =Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Do you know you have to be approved to hold cc information legally? =Unless you are certified, you are not supposed to store cc information. =New rule.-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfClint DavisSent: Tuesday, June 13, 2006 7:06 AMTo: WebDNA TalkSubject: SetHeader not WorkingI want to wipe the credit card information from orderfiles older than 30days. I'm using listfiles on my orders folder and adding each to a temp =db.Then, I search the temp db to find orders over 30 days old. Finally, I =usesetheader to remove the CC info.When I run the script below, the date in the orderfile is changed to =today,and the CC info is not altered. Anyone see a problem with the code?MacOS X 10.4.6 | WebDNA 6.0a[delete db=3Dadmin/orders-tmp.db&neIDdata=3Dfind_all][listfiles products/Orders/] [orderfile file=3Dproducts/Orders/[filename]] [append =db=3Dadmin/orders-tmp.db]ID=3D[filename]&THEDATE=3D[date][/append] [/orderfile][/listfiles][search db=3Dadmin/orders-tmp.db&lsTHEDATEdatarq=3D[mathdate]{[date]}-{00/30/0000}[/math]&THEDATEsort=3D1&THEDATEtype=3Ddate] [founditems] [THEDATE]|[ID]
[setheader=20file=3Dproducts/Orders/[ID]]date=3D[THEDATE]&acccountNum=3D&expMonth=3D&e=xpYear=3D[/setheader] [/founditems][/search]-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to =Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Bess Ho"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Alternating colors (1997)
SKU lookup (1997)
[COMMITDATABASE FileName] (2000)
[protect admin] (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Error Log.db --however (1997)
Running _every_ page through WebCat ? (1997)
Separate SSL Server (1997)
Execute Applescript (1997)
Summ=T Problem (1997)
Help! Strange happenings... (1997)
Tracking (2004)
Re:Comments Convertion-part2 (1998)
[include] affect on filepaths for links? (1997)
Duplicate Cart ID (2001)
raw field names (2001)
executive server side java within webDNA (1997)
RAM variables (1997)
The Form authentication trick (2000)
WebCat/PDF Integration Time Est (2000)