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:

RAM variables (1997) Summing fields (1997) Variable prices and Formulas.db (1997) WebCat2b12 - nesting [tags] (1997) Sorting error (1997) Help name our technology! (1997) ThisAutoNumber (2003) Encrypting userid for email (2000) [ShowIf] and empty fields (1997) SiteEdit NewFile.html ? (1997) Cart# (1997) More NT encyption!! (1999) Suffix Mapping (1997) this works sometimes and sometimes not (1997) OS X, Communigate Pro & Line Breaks (2003) Cart Number sequence (1997) Applescript Hack (1996) Random sort is not random at all..... (2000) [WebDNA] TCPConnect assist (2016) Database Strategy - more... (1998)