CODE
<link type="text/css" rel="stylesheet" href="/includes/css/main.css" />
From what I thought I understood, using the following would start from the root:
CODE
<?php include("/includes/incHeader.php"); ?>
Yet, this is what results: redesign.theanswerband.com/pages/demos.php
QUOTE
Warning: main(/includes/incHeader.php) [function.main]: failed to open stream: No such file or directory in /home/theanswe/public_html/redesign/pages/demos.php on line 18
Warning: main(/includes/incHeader.php) [function.main]: failed to open stream: No such file or directory in /home/theanswe/public_html/redesign/pages/demos.php on line 18
Warning: main() [function.include]: Failed opening '/includes/incHeader.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/theanswe/public_html/redesign/pages/demos.php on line 18
Put page content here.
Warning: main(/includes/incFooter.php) [function.main]: failed to open stream: No such file or directory in /home/theanswe/public_html/redesign/pages/demos.php on line 24
etc, etc
Interestingly, in Dreamweaver it shows up in design mode, but as soon as I hit the button to use the test server on my computer, the same errors show up.
For FYI's sake, if I change the include statements to not include the preceeding slash mark...
CODE
<?php include("includes/incHeader.php"); ?>
...then the home page renders: redesign.theanswerband.com (currently has code w/preceeding slash mark).My file structure is:
[public_html]
--->[redesign] (subdomain)
------>index.php
------>[includes]
--------->incHeader.php
--------->[css]
------------>main.css
------>[pages]
--------->demos.php