about include

From: Date: Thu, 01 Mar 2001 08:59:20 +0000
Subject: about include
Groups: php.general 
Request: Send a blank email to php-general+get-42132@lists.php.net to get a copy of this message
hi, everytime i add include function to a script it will answer like: Warning: Failed opening 'common.php' for inclusion (include_path='/usr/local/apache/htdocs:/home/httpd/mydomain') in /home/httpd/mydomain/h24h/foro/admin/index.php on line 23 and lines 22 and 25 have: chdir("/home/httpd/mydomain/phorum/"); include "common.php"; in php.ini i have this: include_path = "/usr/local/apache/htdocs:/home/httpd/mydomain" doc_root = user_dir = /usr/local/apache/htdocs ; extension_dir = ./ enable_dl = On after this, where should i put all my php files? can i put admin php files into other directories? any suggestions will be appreciated, thanks in advance, marcos lloret marcos@ival.es

« previous php.general (#42132) next »