Hi,

I have the following directory structure for a mozdev site:

www/includes/
  header.php
  footer.php
  ...

www/proto
  test1.html
  test2.html
  ...

In test1.html, when I write:

<?php include "../includes/header.php"; ?>

I get the error:

Warning: main(../includes/header.php): failed to open stream: No such file or 
directory in
/mozdev/sandbox/data/helm/htdoc/foxyproxy/www/proto/test1.html on line 1

What am I doing wrong? The include works for HTML files at the www/ directory:

<?php include "includes/header.php"; ?>

Thanks for any help,
Eric
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to