title: including wordpress header in whmcs client area
body: <p>For a project I'm working on I am trying to accomplish to match the whmcs client area to my wordpress site.
  So far I've made a lot of progress but I'm stuck right now. I want to include the header of my wordpress site in whmcs. 
  I tried to implement the static code of my header in the header.tpl file of whmcs. It kind of works but the css conflicts with the main theme of whmcs. </p>
  
  <p>The second thing I tried was to include it with php  </p>
  
  <pre><code>&lt;?php include(path/to/header.php'); ?&gt;
  </code></pre>
  
  <p>Since the header.php is located in the main www directory and whmc is on a subdomain, I was advised to try this:</p>
  
  <pre><code>include($_SERVER['DOCUMENT_ROOT'].'/header.php');
  </code></pre>
  
  <p>Neither of those two methods worked.</p>
  
  <p>The next thing I did was a new approach. I tried implementing the whmcs layout in wordpress with a plugin called advanced Iframe. It does work but it doesn't always behave as it should and I think it is an better idea to keep whmcs completely on its own subdomain (client.domain.com)</p>
  
  <p>I am no coding genius, so I'm stuck at this point. Are there any workarounds for this? </p>