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:

credit card authorization question (1997) Virtual hosting and webcatNT (1997) Email Set-Up? (1997) I try hard to think positively (1998) Include a big block of text (1997) PROTECT PAGES (2002) transferring values (1998) Banners (1997) miva server (2002) RE: webcat license???? (1997) Document Contains no data, or showcart error. (1997) Cyberstudio and WebDNA (1997) nslookup (2000) PCS Frames (1997) WebCat 3.04-3.07 plug-in dying on server.... (2000) .eml files (2001) New Site (1998) [TaxableTotal] - not working with AOL and IE (1997) Two options to consider (2008) [UPPERCASE] (1997)