Ok.. so I setup:

<cfif #IsDefined(cgi.remote_addr)#>
 <cfif #cgi.remote_addr# GT '206.162.74.1' AND #cgi.remote_addr# LT
'206.162.74.255'>
  <cfoutput>#cgi.remote_addr#</cfoutput>
 </cfif>
</cfif>

However, since the IP is not really a number, I am getting an error when it
tried to evaluate. Is there a way to trim the address to seperate pieces
then evaluate each one? I guess I could do a loop to each period and take
the three numbers before that...that would work for the first 3 sets. Then I
could check each of those sets, and finally check the last numbers.

Sound like a good idea? Is this going to take to long to load on the main
page for each load?

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315




------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to