<html><head>
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta name="Generator" content="Novell Groupwise Client (Version 14.0.0 Build: 115243)">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head><body style="font: 10pt/normal Segoe UI; margin: 16px 16px 4px; font-size-adjust: none; font-stretch: normal;"><div id="GroupWiseSection_1444848977000_klarson@k12group.net_59511A0513870000BD1BF681F57056B0_" class="GroupWiseMessageBody"><div>there was no offense taken. i understand that what i'm asking about could easily turn into something that is difficult to administer/maintain. i have to weight the benefits of taking this approach against my current model and see it improves the situation. in some ways, this actually makes something more scalable than it already is today and makes it easier to maintain centrally.</div><div> </div><div>i appreciate that i knew i could find the answer in this group.</div><span style="margin-bottom: 5px; display: block;"> </span><div id="GroupWiseSection_1444845924000_angelo@mccomis.com" class="GroupWiseMessageBody"><span class="GroupwiseReplyHeader">>>> Angelo McComis <angelo@mccomis.com> 10/14/2015 2:05 PM >>><br></span><div>
<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 1:39 PM, R P Herrold <span dir="ltr"><<a href="mailto:herrold@owlriver.com" target="_blank">herrold@owlriver.com</a>></span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote"><div style="overflow: hidden;" id=":229" class="a3s">is there a purpose to unsolicited advice and prediction of<br>
gloom? The matter is trivially done with the REMOTE_ADDR<br>
variable and a header() command in PHP, and any mature CGI<br>
environment<br>
<br>
I'll poke at a proof of concept backed (by a database so that<br>
it is readily altered as to the redirect page by a site<br>
administrator). Static coding is even easier (load an array<br>
with IP's to go to the execption page, test if the REMOTE_ADDR<br>
is in_array(), and alternatively fall to a different header()<br>
<br>
Here is real code to that effect. Problem is that it mixes<br>
data (the IP / URL pairs, and code, which is not usually a<br>
very scalable approach, along with otehr reasons</div></blockquote></div><br><br><div style="color: rgb(51, 0, 51); font-family: verdana,sans-serif; font-size: small;" class="gmail_default">Russ,<br><br></div><div style="color: rgb(51, 0, 51); font-family: verdana,sans-serif; font-size: small;" class="gmail_default">I didn't see any harm or foul for providing some experience-driven insight. Look at it this way: Keith may not always be the owner of this, and if he hands this off down the road, it may not be to someone as skilled/capable. <br><br></div><div style="color: rgb(51, 0, 51); font-family: verdana,sans-serif; font-size: small;" class="gmail_default">I certainly don't mean to offend Keith for his question or direction, I just wanted to provide a slight twist that might be a better choice that's more easily maintained down the road.<br><br></div></div></div>
</div></div></div></body></html>