Re: code to phantom spacing
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36683
interpreted = N
texte = Jon Robinson wrote:> > >> > >FYI- The db was again hit and blanks added. I often leave a db open as I> > >work and can watch it be updated, and this one is being updated.> > There ends> > >up being two records with blanks in each field.> >> > The blanks won't be a problem, they are simply ignored.> >> >> > >After your comment that it might be a db problem, I got to thinking, the> > >same might be true about includes. I know it's not quite the same, but it> > >turns out that an include I'm using to check alphanumerics for> > each of the> > >many fields in my form is somehow producing the majority of the garbage.> >> > There must be a character in it other than a cr or a lf then, because> > my solution eliminates all the cr's and lf's.> >> > You've never posted the source from your browser after running my> > solution, so I don't have any actual text to look at to see what> > characters are causing the problem. Please post the resulting source> > HTML after running my solution so I can check it, thanks.> > Ken,> > If by the code I get when I view source after running the code, here is is.> I actually posted these in several previous messages, so I have not been> ignoring you request. Maybe you are refering to something else though.> > source code from browser after running your solution:> http://www.chakra5.net/client/jon/webcat/trouble1.html> http://www.chakra5.net/client/jon/webcat/trouble2.html> http://www.chakra5.net/client/jon/webcat/trouble3.htmlThese are all 404's> > database after the same:> http://www.chakra5.net/client/jon/webcat/noReturns1.db> http://www.chakra5.net/client/jon/webcat/noReturns2.db> http://www.chakra5.net/client/jon/webcat/noReturns3.dbThese are all worthless, since we cannot see any characters outside ofwhat a browser will handle (and then it will interpret them as it seesfit).> > string check loop that is exaserbating the issue:> http://www.chakra5.net/client/jon/webcat/string_check.inc> This is just plain ugly. I don't have time to decode what you are trying to do, but for a start, if you are doing math on a variable,then it needs to be a math variable, right??? Wrapping [text] around[math] is just pure wrong; there is no good way to say it. Change all of your variables to [math] except [all_chars_are_legal] which isa logical and can be stored as text.I have no idea what you intend the [convertchars] to do; I am assuming you are trying to suppress all of the returns generated by that text.You should forget about doing anything about extra returns until yourinside code works, which I doubt it does now.John--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Jon Robinson wrote:> > >> > >FYI- The db was again hit and blanks added. I often leave a db open as I> > >work and can watch it be updated, and this one is being updated.> > There ends> > >up being two records with blanks in each field.> >> > The blanks won't be a problem, they are simply ignored.> >> >> > >After your comment that it might be a db problem, I got to thinking, the> > >same might be true about includes. I know it's not quite the same, but it> > >turns out that an include I'm using to check alphanumerics for> > each of the> > >many fields in my form is somehow producing the majority of the garbage.> >> > There must be a character in it other than a cr or a lf then, because> > my solution eliminates all the cr's and lf's.> >> > You've never posted the source from your browser after running my> > solution, so I don't have any actual text to look at to see what> > characters are causing the problem. Please post the resulting source> > HTML after running my solution so I can check it, thanks.> > Ken,> > If by the code I get when I view source after running the code, here is is.> I actually posted these in several previous messages, so I have not been> ignoring you request. Maybe you are refering to something else though.> > source code from browser after running your solution:> http://www.chakra5.net/client/jon/webcat/trouble1.html> http://www.chakra5.net/client/jon/webcat/trouble2.html> http://www.chakra5.net/client/jon/webcat/trouble3.htmlThese are all 404's> > database after the same:> http://www.chakra5.net/client/jon/webcat/noReturns1.db> http://www.chakra5.net/client/jon/webcat/noReturns2.db> http://www.chakra5.net/client/jon/webcat/noReturns3.dbThese are all worthless, since we cannot see any characters outside ofwhat a browser will handle (and then it will interpret them as it seesfit).> > string check loop that is exaserbating the issue:> http://www.chakra5.net/client/jon/webcat/string_check.inc> This is just plain ugly. I don't have time to decode what you are trying to do, but for a start, if you are doing math on a variable,then it needs to be a math variable, right??? Wrapping [text] around[math] is just pure wrong; there is no good way to say it. Change all of your variables to [math] except [all_chars_are_legal] which isa logical and can be stored as text.I have no idea what you intend the [convertchars] to do; I am assuming you are trying to suppress all of the returns generated by that text.You should forget about doing anything about extra returns until yourinside code works, which I doubt it does now.John--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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://search.smithmicro.com/
John Peacock
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:
Securing a Directory (2000)
Web*3 virtual hosting Webcatalog problem + Vicom bonus (1998)
[WebDNA] DBServer.exe Max CPU (2014)
Searching multiple fields from one form field (1997)
Download URL & access on the fly ? (1997)
Fwd: Handling Charges (1999)
suffix mapping for NT? (1997)
Protecting Files (2005)
Reversed words (1997)
RE: WebCatalog2 for NT Beta Request (1997)
Random ads (1998)
Problem with updating to 2.1.1 (1998)
Database access (2003)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Sku numbers (1997)
The max=0 issue is a bug ... (2000)
Search inside Include (1998)
Setting up shop (1997)
NT vs Mac (1997)
[WebDNA] Searching Possible Bug (2009)