Re: Include: Warning: Failed opening

From: Date: Wed, 30 Oct 2002 20:39:28 +0000
Subject: Re: Include: Warning: Failed opening
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122113@lists.php.net to get a copy of this message
> Warning: Failed opening '/common.php' for inclusion > (include_path='.:/www/htdocs/php:/www/htdocs') in > /www/htdocs/php/includetest.php on line 3 Take out the forward slash in your include. '/common.php' means to look in the root directory for the file, while if you just put 'common.php' or './common.php' it'll look in the same directory as includetest.php. Or, provide a full path to the file '/www/htdocs/php/common.php'. ---John Holmes...

« previous php.general (#122113) next »