How do I tell the index of my subdomain to call the entire contents of the root directory in the index.php file of my sub-directory?
<p>I am fairly new to php but I have an index file in my root directory where I define some php variables and call the "header.php" file which contains my site content. </p>

<p>Here is the structure. </p>

<p>I have two domains</p>

<p><strong>mysite.com</strong> -> references the root folder, the index file (which contains my dynamic variables)  calls header.php using php includes which loads images, css, and content</p>

<p><strong>domain1.mysite.com</strong> -> references a sub-directory titled "domain1". In domain1 I have an index file with seperately defined variables and I would like to call the SAME header and content that mysite is calling in the root directory. However, because I am calling it from a sub-directory, it does not load images or CSS.</p>

<p>I think this is a simple fix, but how do I tell the index of my subdomain to call the entire contents of the root directory in the index.php file of my sub-directory?</p>
