Help - Search - Members - Calendar
Full Version: Help..
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
shaiful
Warning: include() [function.include]: Unable to access /www//header.php in /www/clanteam.com/c/l/a/clansurf/htdocs/headfoot.php on line 8

Warning: include(/www//header.php) [function.include]: failed to open stream: Success in /www/clanteam.com/c/l/a/clansurf/htdocs/headfoot.php on line 8

Warning: include() [function.include]: Failed opening '/www//header.php' for inclusion (include_path='.:/usr/share/php') in /www/clanteam.com/c/l/a/clansurf/htdocs/headfoot.php on line 8

why ha?
Ed
/www refers to the root of the webserver, you:

A. Don't have access to this
B. No files to which concern you are kept there

With your include if the file 'header.php' is in the same directory as the page including the statement it would simply be:

CODE
include 'header.php';


If its in a directory named 'www', then it would be:

CODE
include 'www/header.php';
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.