Mark,

How about this...?



<cfoutput>
        <cfif #Val(ListGetAt(cgi.remote_addr, 3, "."))# GTE 32 AND
#Val(ListGetAt(cgi.remote_addr, 3, "."))# LTE 68 >
                (do something)
        <cfelse>
                (do something else)
        </cfif>
</cfoutput>


v/r,
Jeff

-----Original Message-----
From: Mark M. Kecko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 3:00 PM
To: CF-Talk
Subject: FW: Reg Expression for IPs


Does anybody have a regular expression for finiding out if a clients IP
address falls within a certain range.  I want to know if anybody with an IP
address in the range of 192.168.32.0 - 192.168.63.255 hits a page.  Thanks
in advance.

Mark Kecko
The Computer Guy
MediaPost Communications
[EMAIL PROTECTED]
http://www.mediapost.com
(203)222-0330 ext309

"Imagination is the one weapon in the war against reality."
Jules de Gaultier


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to