including files
| From: | Paulson, Joseph V. \"Jay\" | Date: | Tue, 21 Nov 2000 15:35:18 +0000 |
| Subject: | including files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26457@lists.php.net to get a copy of this message | ||
Hello everyone--
I have a simple question about including a file on a Unix machine. I have
PHP4 installed on it and I'm trying to include a file that holds passwords
to databases etc. I'm using the full path which is:
/httpd/php/application/application_dev_prod.php
Also, my code to include the file is as follows:
include ("/httpd/php/application/application_dev_prod.php");
Lastly, here is the include error I am getting:
Warning: Failed opening '/httpd/php/application/application_dev_prod.php'
for inclusion (include_path='.:/usr/local/lib/php') in
/httpd/htdocs/index.php on line 3
Thanks for any help!
Jay