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:
Occasional crashes with $remove (1997)
WebCat2final1 crashes (1997)
[WebDNA] Sublime Text or Textmate (2013)
[WebDNA] File Upload Issue (2012)
.html to .tpl; ***TIP (1998)
help needed: Non-english characters in WebCatalog (1997)
Live Webcasts (1999)
Menu Madness (2001)
Disappearing Databases (2000)
Link with [cart] in db field (1999)
How to append text after the sign & (1997)
AUTONUMBER (2003)
creates folders with AS (1997)
Generating unique SKU from [cart] - Still Stumped... (1997)
Secure Server basic question... (1997)
Include binary files in template/XML (SOLVED/Request new (2004)
no [search] with NT (1997)
WebDNA-Talk Digest mode broken (1997)
RE: type 2 errors with ssl server (1997)
newbie question about zip code search (2003)