Re: IPADDRESS mystery

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51175
interpreted = N
texte = On 6/19/03 9:31 AM, Brian Fries wrote:> > If this doesn't work for you, you might try pre-pending the ipaddress > and the test value with an alphabetic character to make sure WebDNA > treats the values as text and doesn't try to convert them to numbers, > like so: > [hideif x[ipaddress]~x198.068.011] Love this idea.... Simple but effective...For most everyone that is ;-) Didn't work in this case. > You might also try an IF (using quotes to force text comparison) > instead of HIDEIF. So I figured this was the way I had to go. And I tried the following code: [if ([ipaddress]~142.165.204) | ([ipaddress]~206.045.186) | ([ipaddress]~198.068.010) | ([ipaddress]~198.068.011) | ([ipaddress]~198.068.012) | ([ipaddress]~198.068.013) | | ([ipaddress]~198.068.014) | | ([ipaddress]~198.068.015)] [then] [/then] [else] Not blocked. [/else] [/if]It still blocked me with 012.096.181.109 But changing it to [if ([ipaddress]~142.165.204) | ([ipaddress]~206.045.186) | ([ipaddress]~198.068.011) | ([ipaddress]~198.068.012) | ([ipaddress]~198.068.013) | | ([ipaddress]~198.068.014) | | ([ipaddress]~198.068.015)] [then] [/then] [else] Not blocked. [/else] [/if]Made it work. All I did was remove the ([ipaddress]~198.068.010) Too damn bizarre and I have removed the offending IP for now... Too damn early for this type of mystery. :-(Thanks Brian. AlexAlex J McCombie New World Media Chief Information Officer Box 124 888/892.6379 MartVille, NY 13111 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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: IPADDRESS mystery (Alex McCombie 2003)
  2. Re: IPADDRESS mystery (Brian Fries 2003)
  3. IPADDRESS mystery (Alex McCombie 2003)
On 6/19/03 9:31 AM, Brian Fries wrote:> > If this doesn't work for you, you might try pre-pending the ipaddress > and the test value with an alphabetic character to make sure WebDNA > treats the values as text and doesn't try to convert them to numbers, > like so: > [hideif x[ipaddress]~x198.068.011] Love this idea.... Simple but effective...For most everyone that is ;-) Didn't work in this case. > You might also try an IF (using quotes to force text comparison) > instead of HIDEIF. So I figured this was the way I had to go. And I tried the following code: [if ([ipaddress]~142.165.204) | ([ipaddress]~206.045.186) | ([ipaddress]~198.068.010) | ([ipaddress]~198.068.011) | ([ipaddress]~198.068.012) | ([ipaddress]~198.068.013) | | ([ipaddress]~198.068.014) | | ([ipaddress]~198.068.015)] [then] [/then] [else] Not blocked. [/else] [/if]It still blocked me with 012.096.181.109 But changing it to [if ([ipaddress]~142.165.204) | ([ipaddress]~206.045.186) | ([ipaddress]~198.068.011) | ([ipaddress]~198.068.012) | ([ipaddress]~198.068.013) | | ([ipaddress]~198.068.014) | | ([ipaddress]~198.068.015)] [then] [/then] [else] Not blocked. [/else] [/if]Made it work. All I did was remove the ([ipaddress]~198.068.010) Too damn bizarre and I have removed the offending IP for now... Too damn early for this type of mystery. :-(Thanks Brian. AlexAlex J McCombie New World Media Chief Information Officer Box 124 888/892.6379 MartVille, NY 13111 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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/ Alex McCombie

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:

Re:Saving/Looking Up customer numbers (1998) [shownext max=?] armed (1997) Error -108 (1997) NT [delete] (1998) [WebDNA] [BULK] [middle] behavior (2020) WebCat2b12 - nesting [tags] (1997) bugs w/! &/or bad scripting??? (1997) WebCatalog NT (1996) Country & Ship-to address & other fields ? (1997) TCPConnect (1998) WebCatalog2 Feature Feedback (1996) instant cookies? (1999) Hard Questions ? (1997) My web page only... (2003) Using Cookie for client specific info? (1997) WebCat cannot handle compatible search parameters? (1997) Adding more than one item and QTY to cart (2000) Its not that weird. (1997) message forum question (2005) Botched cart numbers in webmerchant 2.1x email with webcat 3 (1998)