Re: SetHeader not Working

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67439
interpreted = N
texte = I'm opening the actual orderfile after running the script. On 6/13/06 9:19 AM, "WJ Starck" wrote: > 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? > > -Will > > > On 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: SetHeader not Working ( "Dan Strong" 2006)
  2. Re: SetHeader not Working ( "Bess Ho" 2006)
  3. Re: SetHeader not Working ( "Bess Ho" 2006)
  4. Re: SetHeader not Working ( Brian Fries 2006)
  5. Re: SetHeader not Working ( "Bess Ho" 2006)
  6. Re: SetHeader not Working ( Matthew Bohne 2006)
  7. Re: SetHeader not Working ( "Dan Strong" 2006)
  8. Re: SetHeader not Working ( Gary Krockover 2006)
  9. Re: SetHeader not Working ( Donovan Brooke 2006)
  10. Re: SetHeader not Working ( "Bess Ho" 2006)
  11. Re: SetHeader not Working ( "Bess Ho" 2006)
  12. Re: UCE: Re: SetHeader not Working ( Dale Lists 2006)
  13. Re: SetHeader not Working ( Dale Lists 2006)
  14. Re: SetHeader not Working ( Donovan Brooke 2006)
  15. Re: SetHeader not Working ( Sandie L Miller 2006)
  16. Re: SetHeader not Working ( Matthew Bohne 2006)
  17. Re: SetHeader not Working ( John Peacock 2006)
  18. Re: SetHeader not Working ( Matthew Bohne 2006)
  19. Re: SetHeader not Working ( Bob Minor 2006)
  20. Re: SetHeader not Working ( "Bess Ho" 2006)
  21. Re: SetHeader not Working ( John Peacock 2006)
  22. Re: SetHeader not Working ( "Bess Ho" 2006)
  23. Re: SetHeader not Working ( WJ Starck 2006)
  24. Re: SetHeader not Working ( Bob Minor 2006)
  25. Re: SetHeader not Working ( "Bess Ho" 2006)
  26. Re: SetHeader not Working ( Donovan Brooke 2006)
  27. Re: SetHeader not Working ( "Bess Ho" 2006)
  28. Re: SetHeader not Working ( WJ Starck 2006)
  29. Re: SetHeader not Working ( John Peacock 2006)
  30. Re: SetHeader not Working ( "Bess Ho" 2006)
  31. Re: SetHeader not Working ( Donovan Brooke 2006)
  32. Re: SetHeader not Working ( John Peacock 2006)
  33. Re: SetHeader not Working ( Donovan Brooke 2006)
  34. Re: SetHeader not Working ( Clint Davis 2006)
  35. Re: SetHeader not Working ( Clint Davis 2006)
  36. Re: SetHeader not Working ( WJ Starck 2006)
  37. SetHeader not Working ( Clint Davis 2006)
I'm opening the actual orderfile after running the script. On 6/13/06 9:19 AM, "WJ Starck" wrote: > 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? > > -Will > > > On 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Clint Davis

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:

Training Videos for 3.0 (1998) Error & Problem (1997) Search (1997) WebCatalog can't find database (1997) WebDNA vs SQL ? (2002) Re:Replace command help (1998) autosensing lanague selection (1997) ASP Developer (1999) Newbie problem blah blah blah (1997) Shopping Cart Problem (1998) CASTEGORIES IN DIFFERENT FRAMES (1997) NT or Mac (1998) Help! WebCat2 bug (1997) Initiating NewCart (1997) GuestBook example (1997) [WebDNA] New problem with [ShowNext] (2010) OT: need perl help, and question about switches (2007) vs (1997) expired beta (1997) Displaying photo attached to first record (1997)