Re: & Aftermath

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25597
interpreted = N
texte = Mooseman, the reason this whole thing came up is because SM tech support told me yesterday to never allow an & to get into my db if I am using unix webcat. So I asked the list if this is right since it didn't feel right to me... I mean really *never* allow an amperasand into any db??! Ken says you are safe if you use [URL] in all the right places... SM's Store builder apparently does not do that from what I can gather. If anyone knows why there is a good reason to *not* allow an & into any db on unix or other platform (even when one is careful to use [URL]), then I wold love to hear it. If unix webcat and mac webcat behave differently I would love to hear that.-JohnKenneth Grome wrote:> >Kenny G said > >>The & is written to the db, just try it then look in your db and you'll see it > >for yourself ... > > > > > >Thats all I was asking with even the sloppy examples.... > > > >after all the [URLing] when I look in the database > >the & is there. > > > >So do I want it there as a & ; > >or as a %26 > >or as some other ascii text I don't know about? > > The ampersand is fine in the db, and in fact that's exatly what is supposed to be stored in the db. > > If you always enter whatever text you actually want stored in the db into your forms, then make sure to wrap the form field tag in a [url] context when appending or replacing to the db on the next page, you will never have a problem. > > If you use the [url] context every time, around every value in your append and replace contexts, you can enter any text you feel like in your forms ... that's why using [url] is so highly recommended. It fixes all database data entry problems when used consistently and properly ... :) > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499, http://webdna.net > ================================ > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
Mooseman, the reason this whole thing came up is because SM tech support told me yesterday to never allow an & to get into my db if I am using unix webcat. So I asked the list if this is right since it didn't feel right to me... I mean really *never* allow an amperasand into any db??! Ken says you are safe if you use [url] in all the right places... SM's Store builder apparently does not do that from what I can gather. If anyone knows why there is a good reason to *not* allow an & into any db on unix or other platform (even when one is careful to use [url]), then I wold love to hear it. If unix webcat and mac webcat behave differently I would love to hear that.-JohnKenneth Grome wrote:> >Kenny G said > >>The & is written to the db, just try it then look in your db and you'll see it > >for yourself ... > > > > > >Thats all I was asking with even the sloppy examples.... > > > >after all the [URLing] when I look in the database > >the & is there. > > > >So do I want it there as a & ; > >or as a %26 > >or as some other ascii text I don't know about? > > The ampersand is fine in the db, and in fact that's exatly what is supposed to be stored in the db. > > If you always enter whatever text you actually want stored in the db into your forms, then make sure to wrap the form field tag in a [url] context when appending or replacing to the db on the next page, you will never have a problem. > > If you use the [url] context every time, around every value in your append and replace contexts, you can enter any text you feel like in your forms ... that's why using [url] is so highly recommended. It fixes all database data entry problems when used consistently and properly ... :) > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499, http://webdna.net > ================================ > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 John Butler

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:

Is there an easier way? (1998) WebCat2b12 CGI Mac - [shownext] problem (1997) FYI: virus alert (1996) Template Not Found (1998) select multiple (1997) Make sure I understand this??? (1997) Summing fields (1997) Showing unopened cart (1997) Bug Report, maybe (1997) Multiple 'Users.db' files not possible (1997) errormessages.db (1997) Adding to Cart (2004) Error Log.db --however (1997) Errata: WCS Newbie question (1997) Error Msg (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) migrating from MacOS to unix (2000) SSL, WebSTAR, WebCatalog (1998) New Mac Emailer... (1997) WebCat2.0 [format thousands .0f] no go (1997)