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
[EMAIL PROTECTED]
www.vacagorda.com
----- Original Message -----
From: "Fabian Fabela" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]