Fw: [PHP] Include

From: Date: Tue, 13 Feb 2001 17:51:23 +0000
Subject: Fw: [PHP] Include
Groups: php.general 
Request: Send a blank email to php-general+get-39445@lists.php.net to get a copy of this message
Well The file is not in the same dir, but the php file that is calling it is using the chdir function to go to that dir, even if I put the file in the same dir I can't include it. Thank you. Fabian Fabela fabian@vacagorda.com www.vacagorda.com ----- Original Message ----- From: "Fabian Fabela" <php@vacagorda.com> To: <php-general@lists.php.net> Sent: Tuesday, February 13, 2001 11:38 AM Subject: [PHP] Include Hello, I have php 4.0.3pl1. I am trying to install phorum (phorum.org). In a php file (index.php in admin) there is the function include for a file (common.php), I get the following error. Warning: Failed opening 'common.php' for inclusion (include_path='/usr/share/php') in /home/web/vacagorda/jeans/htdocs/foro/administration/index.php on line 28 Why I can't include that file without putting it in the /usr/shar/php diretory? Thank you Fabian Fabela fabian@fabela.com.mx

« previous php.general (#39445) next »