How can I use local and remote settings in the same PHP file?
<p>My basic thoughts would be to do something like:</p>

<pre><code>$isLocal = // test here

if ($isLocal) {
// local settings here
}
else {
// remote settings here
}
</code></pre>

<p>I've tried $_SERVER['HTTP_HOST'] but when I debug in Netbeans, HTTP_HOST does not appear as a parameter.  Basically I'm looking for a robust test for $isLocal</p>
