Yes it is just a temporary fix because we have people hitting our
development server then calling us asking why they are getting errors.  We
just tell them hey it is a "DEVELOPMENT SERVER" if you do not want to see
errors go to production.  

Joshua Tipton

-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 7:40 AM
To: CF-Talk
Subject: RE: Help List Find FIXED


Are you sure that does what you want it to do? I would have thought trimming
the white space would have worked.

Ade

-----Original Message-----
From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 12:35
To: CF-Talk
Subject: RE: Help List Find FIXED


<cfset server = "www.dev.ser.ups.com, 10.19.72.122">
I had to set the list to a var then check that var dunno why but it worked.

<cfset iplist = "10.18.74.246, 10.19.74.160, 10.19.73.39">
<cfset temp = listfindnocase(server,server_name)>
<cfset temp1 = listfindnocase(iplist,REMOTE_ADDR)>
<cfif temp is 0 and temp1 is 0>
This is the development server please go to 
<a href="http://www.ser.ups.com/tsg/apps/overduedispo";>Click Here!!</a>
<cfabort>
</cfif>
-----Original Message-----
From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 7:30 AM
To: CF-Talk
Subject: RE: Help List Find


None it is just not working.  My ip is 10.19.74.246 on the internal side so
I put 10.18.74.246 so it should pop up and say dev server but it is not.

Josh


-----Original Message-----
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 7:28 AM
To: CF-Talk
Subject: RE: Help List Find


what error are you getting?

-----Original Message-----
From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 12:25
To: CF-Talk
Subject: Help List Find


What is wrong with this?
 
 
<cfset server = "www.dev.ser.ups.com, 10.19.72.122">
<cfset iplist = "10.18.74.246, 10.19.74.160, 10.19.73.39">
 
<cfif listfindnocase(server,server_name) and
listfindnocase(iplist,REMOTE_ADDR)>
This is the development server please go to 
<a href=" Click'>http://www.ser.ups.com/tsg/apps/overduedispo";
<http://www.ser.ups.com/tsg/apps/overduedispo> >Click Here!!</a>
<cfabort>
</cfif>






______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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