Posted by Jerry Stuckle on 04/19/07 04:18
Jon Slaughter wrote:
> Can I modify code that I have included using
>
> <?php
> include("../Index.php");
> ?>
>
> The Index.php file contains links that need to be modified to work.
> Index.php is basically an html file uses a linked css file and when its
> included in the new file its referencing a css file in the wrong spot. I
> need to add "../" to the css file reference in Index.php to make it work.
>
> Thanks,
> Jon
>
>
Ensure your link is an absolute path relative to your website root.
Then where you include index.php doesn't matter.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|