Re: [append]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15890
interpreted = N
texte = Makes sense..Thank'sRay -----Original Message----- From: Grant Hulbert To: WebDNA-Talk@smithmicro.com Date: Wednesday, December 31, 1997 1:13 PM Subject: Re: [append] >Well, I added blank= to the beginning of my append and it works fine. Is >this a bug? I'm running the newest non-beta webcatalog acgi, WebTen2.0No, this is not a bug, it's what's expected to happen. If you stick a 'throwaway' field in there as the first one, then all the subsequent fields will work fine as expected.Perhaps this will help you visualize what's going on here: in your mind, pretend there's an underscore '_' instead of a carriage return in your [append] context:[append db=xxx.db]__blank=&title=[title]&sku=[sku][/append]See how that first field is named __blank? That's what you're doing with those carriage returns -- it thinks they're part of the fieldname. But since you have no field named __blank in your database, WebCatalog just ignores that field and moves on to the next one, which is title. Since there *is* a field named title, it goes ahead and appends that information to the database.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [append] to NOT always write to disk (Steve Raslevich 2010)
  2. Re: [WebDNA] [append] to NOT always write to disk (Kenneth Grome 2010)
  3. [WebDNA] [append] to NOT always write to disk (Steve Raslevich 2010)
  4. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Kenneth Grome 2009)
  5. [RESOLVED, I THINK] -- Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which can causes subsequent [search] to fail.) (John Butler 2009)
  6. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  7. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  8. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) ("Brian Harrington, Broker" 2009)
  9. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which can causes subsequent [search] to fail.) (Kenneth Grome 2009)
  10. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Kenneth Grome 2009)
  11. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (christophe.billiottet@webdna.us 2009)
  12. Re: [WebDNA] [append] does not add the newline char at the end ("Terry Wilson" 2009)
  13. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  14. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which can causes subsequent [search] to fail.) (John Butler 2009)
  15. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  16. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Stuart Tremain 2009)
  17. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  18. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  19. [WebDNA] Re: [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  20. [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  21. Re: [append] problems v2 ( "Scott Anderson" 2003)
  22. [append] problems v2 ( Tim Robinson 2003)
  23. Re: [append] problems ( Tim Robinson 2003)
  24. Re: [append] problems ( "Scott Anderson" 2003)
  25. Re: [append] problems ( Tim Robinson 2003)
  26. Re: [append] problems ( Tim Robinson 2003)
  27. Re: [append] problems ( Alain Russell 2003)
  28. Re: [append] problems ( Tim Robinson 2003)
  29. Re: [append] problems ( Alain Russell 2003)
  30. [append] problems ( Tim Robinson 2003)
  31. Re: Error: Permision deny. Unable to append to 'db=^WebMerchant/Stores.db' .Ignoring [Append] context (Le Pham 2002)
  32. Re: Error: Permision deny. Unable to append to 'db=^WebMerchant/Stores.db' .Ignoring [Append] context (Clayton Randall 2002)
  33. Error: Permision deny. Unable to append to'db=^WebMerchant/Stores.db' .Ignoring [Append] context (Clayton Randall 2002)
  34. Re: What's wrong with this [append] context? (John Butler 2000)
  35. Re: What's wrong with this [append] context? (John Peacock 2000)
  36. Re: What's wrong with this [append] context? (Robert McPeak 2000)
  37. Re: What's wrong with this [append] context? (Will Starck 2000)
  38. Re: What's wrong with this [append] context? (Anup Setty 2000)
  39. Re: What's wrong with this [append] context? (Glenn Busbin 2000)
  40. What's wrong with this [append] context? (Robert McPeak 2000)
  41. Re: Number of Feilds Passed to [append] (Kenneth Grome 2000)
  42. Re: Number of Feilds Passed to [append] (Kim Ingram 2000)
  43. Re: Number of Feilds Passed to [append] (Paul Fowler 2000)
  44. Re: Number of Feilds Passed to [append] (Kim Ingram 2000)
  45. Re: Number of Feilds Passed to [append] (Paul Fowler 2000)
  46. Number of Feilds Passed to [append] (Kim Ingram 2000)
  47. Re: A [Loop][APPEND][URL] ... [/URL][/APPEND]/Loop] Question (Brian Wallace 2000)
  48. Re: A [Loop][APPEND][URL] ... [/URL][/APPEND]/Loop] Question (Mike Davis 2000)
  49. A [Loop][APPEND][URL] ... [/URL][/APPEND]/Loop] Question (Brian Wallace 2000)
  50. Re: [append] - illegal characters? (Kenneth Grome 2000)
  51. [append] - illegal characters? (Eric Ridgley 2000)
  52. Re: [append] (Chris Gursche 1998)
  53. Re: [append] (Ray Hatch 1997)
  54. Re: [append] (Grant Hulbert 1997)
  55. Re: [append] (Ray Hatch 1997)
  56. Re: [append] (Grant Hulbert 1997)
  57. [append] (Ray Hatch 1997)
  58. Re: [append] and SSL (Grant Hulbert 1997)
  59. Re: [append] and SSL (Olin 1997)
  60. Re: [append] and SSL (Grant Hulbert 1997)
  61. [append] and SSL (Olin 1997)
  62. Re: [append] problem (Kenneth Grome 1997)
  63. [append] problem (Lee Greene 1997)
  64. Re: [append] vs. [appendfile] delta + question? (John Hill 1997)
  65. Re: [append] vs. [appendfile] delta + question? (Kenneth Grome 1997)
  66. [append] vs. [appendfile] delta + question? (w curt eggemeyer 1997)
  67. [append] ( [app)
Makes sense..Thank'sRay -----Original Message----- From: Grant Hulbert To: WebDNA-Talk@smithmicro.com Date: Wednesday, December 31, 1997 1:13 PM Subject: Re: [append] >Well, I added blank= to the beginning of my append and it works fine. Is >this a bug? I'm running the newest non-beta webcatalog acgi, WebTen2.0No, this is not a bug, it's what's expected to happen. If you stick a 'throwaway' field in there as the first one, then all the subsequent fields will work fine as expected.Perhaps this will help you visualize what's going on here: in your mind, pretend there's an underscore '_' instead of a carriage return in your [append] context:[append db=xxx.db]__blank=&title=[title]&sku=[sku][/append]See how that first field is named __blank? That's what you're doing with those carriage returns -- it thinks they're part of the fieldname. But since you have no field named __blank in your database, WebCatalog just ignores that field and moves on to the next one, which is title. Since there *is* a field named title, it goes ahead and appends that information to the database.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Ray Hatch

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:

WebCat2 - Getting to the browser's username/password data (1997) beta 2 plugin (2000) listfiles shows invisible files ... (1999) Security Tip (1996) Problem (1997) Download URL & access on the fly ? (1997) [WebDNA] Strange happenings (2012) Hideif on IP range (2004) PCS Emailer's role ? (1997) Subtotal help (1997) Banners and sort of random display (1997) looking for developers with solutions (2000) How to find 100 most recent additions. (1997) Non WebDNA forms and timed popups... (2002) Use WebCat to search files in a folder like a search engine? (2001) 2.0 Info (1997) Protect (1997) Unable to view next 101-200 (1997) Problem with version 4 browsers (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)