|
Posted by tom_sawyer70@yahoo.com on 04/19/07 12:31
On Apr 19, 12:04 am, "Jon Slaughter" <Jon_Slaugh...@Hotmail.com>
wrote:
> I can't be sure but chances are your paths are wrong.
>
> Whe you do
>
> <?php include ("includes/nav.php"); ?>
>
> You are including w.r.t to the current path
>
> i.e.
>
> /srv/www/htdocs/jennifer/jennifer.php is the file and its looking for
> nav.php at
> /srv/www/htdocs/jennifer/includes/nav.php
>
Jon,
Thank you for the reply. I have tried variations on the path,
including trying to go right to the file with
/srv/www.htdocs/includes/nav.php
or
http://localhost/includes/nav.php
Neither works.
The interesting thing is even if I try a basic php command, such as to
echo a string, I get no error or result. However, if I do an html
statement, such as <p>print here</p>, it works.
[Back to original message]
|