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:

MATH (1998) [Semi-OT] Eaaaaaasy OSX FTP (2003) calculating unique time (1998) [WebDNA] Browser types (2010) Sorting error (1997) I'm new be kind (1997) RE: Re:Signal Raised (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Layers,Dreamweaver and WebCat Code (2000) is 'template' a reserved webcat tag? (2000) WCS Newbie question (1997) Word Breaks (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) b18 problem on NT 4.0 (1997) standard vs intertwined multithreading (1999) webdelivery.html and webna (1997) Re:Version 2.0 and 1.6 simultaneous (1997) [WebDNA] isolatin-1 to utf-8 conversion (2013) Formatting a .txt file (1998) running WebCatalog under Apache on NT? (2000)