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:

Help! WebCat2 bug (1997) Server IP address? (1998) taxTotal confusion (1998) WebMerchant 1.6 and SHTML (1997) Credit card types (1997) Pirated WebCat? NOT... (2003) Who is John Jakovich? (1999) Admin Edit prob. (1997) [WebDNA] Add to cart (2014) Date search - yes or no (1997) Problem 2: Prefs file... (1997) Email within tmpl ? (1997) PCS Frames (1997) [WebDNA] directory protection questions (2008) unable to launch acgi in WebCat (1997) WebDNA - MySQL - PHP (2003) Multiple catalog databases and showcart (1997) [WebDNA] [OT] the "Work in progress" thread. (2009) Diners Club card problems (1999) Emailer Message not seen in Emailer Code FAQ (2002)