ccondo
02-04-2005, 03:29 AM
We are currently trying to use a footer and header on our designs and we are having some issues on a Cpanel server.
I have a file named index.php that has 2 includes lines for header.htm and footer.htm.
When I try to view the page I get:
Warning: Unknown(/home/smart/public_html/index.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/home/smart/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
Any ideas?
What is weird is it works fine with IIS!
I am guessing this is a security issue. If there is a better way to do this I am all ears.
Thanks!
I have a file named index.php that has 2 includes lines for header.htm and footer.htm.
When I try to view the page I get:
Warning: Unknown(/home/smart/public_html/index.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/home/smart/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
Any ideas?
What is weird is it works fine with IIS!
I am guessing this is a security issue. If there is a better way to do this I am all ears.
Thanks!
