Good day,
The include/require path is relative to the filesystem as seen by the web
system user, not the web root.
It's designed this way so that you can put your include files someplace
where users can't fetch them, which is a recommended practice.
So, if your web root is /usr/local/www on you
try replacing your include with the full data path to the header file rather than a
URL, php has to establish a http connect and download your header file before
proceeding.
require ("/path/to/file/header.htm")
sometimes depending on what web server software you are using, you may need to do i
2 matches
Mail list logo