Funny thing about online manuals..... include() http://www.php.net/manual/en/function.include.php include_once() http://www.php.net/manual/en/function.include-once.php
Please read: http://www.catb.org/~esr/faqs/smart-questions.html -----Original Message----- From: Kenneth Suralta [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 4:35 PM To: [EMAIL PROTECTED] Subject: [PHP] Include files 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"; ... ?> Kenneth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php