Re: SetHeader not Working
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67437
interpreted = N
texte = How do you know the cc info is not being changed-are you looking at the actual orderfiles themselves, or just what is displayed on this template?-WillOn Jun 13, 2006, at 9:05 AMCDT, Clint Davis wrote:> I want to wipe the credit card information from orderfiles older > than 30> days. 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 use> setheader 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=admin/orders-tmp.db&neIDdata=find_all]> [listfiles products/Orders/]> [orderfile file=products/Orders/[filename]]> [append db=admin/orders-tmp.db]ID=[filename]&THEDATE=[date] > [/append]> [/orderfile]> [/listfiles]> [search db=admin/orders-tmp.db&lsTHEDATEdatarq=[math> date]{[date]}-{00/30/0000}[/math]&THEDATEsort=1&THEDATEtype=date]> [founditems]> [THEDATE]|[ID]
> [setheader> file=products/Orders/[ID]]date=[THEDATE] > &acccountNum=&expMonth=&expYear=[/se> theader]> [/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 digest@talk.smithmicro.com>> 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:
How do you know the cc info is not being changed-are you looking at the actual orderfiles themselves, or just what is displayed on this template?-WillOn Jun 13, 2006, at 9:05 AMCDT, Clint Davis wrote:> I want to wipe the credit card information from orderfiles older > than 30> days. 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 use> setheader 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=admin/orders-tmp.db&neIDdata=find_all]> [listfiles products/Orders/]> [orderfile file=products/Orders/[filename]]> [append db=admin/orders-tmp.db]ID=[filename]&THEDATE=[date] > [/append]> [/orderfile]> [/listfiles]> [search db=admin/orders-tmp.db&lsTHEDATEdatarq=[math> date]{[date]}-{00/30/0000}[/math]&THEDATEsort=1&THEDATEtype=date]> [founditems]> [THEDATE]|[ID]
> [setheader> file=products/Orders/[ID]]date=[THEDATE] > &acccountNum=&expMonth=&expYear=[/se> theader]> [/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 digest@talk.smithmicro.com>> 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/
WJ Starck
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:
Webstar 1.3.1 PPC (1997)
Validation (2000)
2nd WebCatalog2 Feature Request (1996)
Typhoon Rev. and PCS store problems (1999)
[WebDNA] passing a variable in an include - precedence (2017)
Macos8.6 to X migration problems (2000)
form data submission gets truncated (1997)
Add to Cart & List of Products (1997)
Size images (2002)
multiple databases (1997)
Error Lob.db records error message not name (1997)
Authorize.Net down 2 days in row (2004)
Sandbox Administation (2003)
Something weird with ShoppingCarts (2003)
Nested tags count question (1997)
[format 40s]text[/format] doesn't work (1997)
ups quickcost [repost] (1999)
[/application] error? (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
OT: Prevent Caching js Files (2003)