RE: [PHP] Include files

From: Date: Wed, 26 Feb 2003 01:43:11 +0000
Subject: RE: [PHP] Include files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137178@lists.php.net to get a copy of this message
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:ksuralta@ntsp.nec.co.jp] Sent: Tuesday, February 25, 2003 4:35 PM To: php-general@lists.php.net 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

« previous php.general (#137178) next »