Re: Include files
| From: | Ernest E Vogelsinger | Date: | Wed, 26 Feb 2003 08:25:52 +0000 |
| Subject: | Re: Include files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137199@lists.php.net to get a copy of this message | ||
At 01:34 26.02.2003, Kenneth Suralta said:
--------------------[snip]--------------------
>How do I include external library files in PHP???
>I would like to put the lines that are repeated in each php files, in a
>separate file.
>e.g.
><?php
>$db_host = "localhost";
>$db_port = "3306";
>$db_name = "test";
>...
>?>
--------------------[snip]--------------------
Haven't I heard that before?
http://www.php.net/manual/en/function.include.php
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/