On 12/20/00, Robert Orlini penned:
>QUESTION: How can I add additional IP addresses using an OR statement to the
>above?
>I tried <CFIF CGI.Remote_Addr is "200.00.11.99" or "200.00.13.99"> but it
>only sees the 1st IP.

You have to repeat the whole condition each time:

<CFIF CGI.Remote_Addr is "200.00.11.99" or CGI.Remote_Addr is "200.00.13.99">

If there is a constant, you could use "contains"

<CFIF CGI.Remote_Addr contains "200.00.">
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to