Problem with ssi
Posted: Mon Jan 05, 2009 3:20 am
I have a problem with my SSI.
Although i run the command to attach it and as you'd expect works as in adding the page. However although my images and css works within my header document. it seems that it does not work at all within the page calling the header document.
Here is what i got..
Header.php with the css link
and the images . which like i said works fine within the header. but when i call it with my content.php there is not css formatting and no images.
Can this have anything to do with the content.php and header.php in different folders in the directory?
or can this be something else like apache not recognizing it?
I am using the latest version of Wamp for my php,mysql, and apache
on a windows vista pc
editor is dreamweaver cs3
Thanks in advance
Although i run the command to attach it and as you'd expect
Code: Select all
<?php require_once('includes/header.php'); ?>Here is what i got..
Header.php with the css link
Code: Select all
<link href="../stylesheets/public.css" rel="stylesheet" type="text/css" />Code: Select all
<img src="../images/dhwd-logo.png" alt="" align="left" />Can this have anything to do with the content.php and header.php in different folders in the directory?
or can this be something else like apache not recognizing it?
I am using the latest version of Wamp for my php,mysql, and apache
on a windows vista pc
editor is dreamweaver cs3
Thanks in advance