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:
WC2b15 File Corruption (1997)
[WebDNA] Triggers issue, or sendmail? (2012)
Linebreak as a delimiter in listwords? (2003)
webmerchant and check cashing (1998)
Erotic Sites (1997)
Mac v. NT (1998)
SMSI -What's the deal (2001)
[WebDNA] WebDNA glitch, no response required ... (2009)
How far do [showif]s go? (1997)
[WebDNA] eCommerce in 7.0 but not in 7.1? (2012)
PowerKey and PageSentry not playing nice (2000)
[sendmail] on NT? (1997)
Help with Repost Data msg from form (1997)
Errata: WCS Newbie question (1997)
searchable list archive (1997)
WebCat2 several catalogs? (1997)
Bug Report, maybe (1997)
[convertChars] and HTML Tags (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
problems with 2 tags (1997)