title: Run PHP code on a specific domain only
body: <p>I need to echo out some specific php code only on the sub-domain of a site. This is where I am so far.</p>
  
  <pre><code>&lt;?php
      if($_SERVER['SERVER_NAME'] != "http://support.demo.com")
          echo "&lt;?php bb_head(); ?&gt;";
  ?&gt;
  </code></pre>
  
  <p>Of course if this worked I'd not be asking a question. Help is appreciated.</p>