> 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...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to