> 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
'.
I am trying to use include statements, but am having no luck. I set the
include path in php.ini to include directories of the files, I tried CHMOD
777 on both files, and I restarted the server.
I can't get any include files working. I got this message:
Warning: Failed opening '/common.php' for
2 matches
Mail list logo