<cfif CGI.REMOTE_ADDR CONTAINS "198.0."> doe something </cfif>
Ben ----- Original Message ----- From: "Erik Fenkell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 5:49 PM Subject: RE: [CFTALKTor] cgi.REMOTE_ADDR > This does not seem to work for me. I am getting a just in time compilation > error. > > Erik > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, March 19, 2002 5:00 PM > To: [EMAIL PROTECTED] > Subject: Re: [CFTALKTor] cgi.REMOTE_ADDR > > > > whoops, get rid of the extra single quote > > <cfif find('192.168.0.', cgi.REMOTE_ADDR> > <cflocation url="http://www.somedomain.ca" addtoken="No"> > </cfif> > > > > > Robert.Smith@cic > a.ca To: [EMAIL PROTECTED] > Sent by: cc: > owner-cfug@cfugt Subject: Re: [CFTALKTor] > cgi.REMOTE_ADDR > oronto.org > > > 19/03/2002 04:57 > PM > Please respond > to CFTALK > > > > > > > > You could use a find statement > > <cfif find('192.168.0.'', cgi.REMOTE_ADDR> > <cflocation url="http://www.somedomain.ca" addtoken="No"> > </cfif> > > Rob Smith > CAmagazine > > > > > "Erik Fenkell" > > <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> > > om> cc: > > Sent by: Subject: [CFTALKTor] > cgi.REMOTE_ADDR > owner-cfug@cfugt > > oronto.org > > > > 19/03/2002 04:43 > > PM > > Please respond > > to CFTALK > > > > > > > > Hi Everybody, > > I would like to check against a range of IP addresses rather than just 1. > > I would like to conditionally process all IP aadreeses from the same block > ie. > > 192.168.0.0 - 192.168.0.255 > > > Below is my current strip of code. > > ------------------------------- > <cfif cgi.REMOTE_ADDR EQ '192.168.0.33'> > <cflocation url="http://www.somedomain.ca" addtoken="No"> > </cfif> > ------------------------------- > > Thanks for any help, > > Erik > > > > > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: [EMAIL PROTECTED] > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) > http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) > > > > > > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: [EMAIL PROTECTED] > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: "Erik Fenkell" <[EMAIL PROTECTED]> > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: "ben.salming" <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
