Re: Include

From: Date: Sun, 19 Aug 2001 05:08:23 +0000
Subject: Re: Include
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-11513@lists.php.net to get a copy of this message
so in var.php i will put something like this $db="mydatabse"; $username="myusername"; $password="mypassword"; and so on? -- Cross Walk Central www.crosswalkcentral.net Support Center Your Web Hosting Community! "Seb Frost" <seb@raceshoot.com> wrote in message news:BAELJLBLJPDMDLJLPGGMMELHCFAA.seb@raceshoot.com... > chuck all the common variables in var.php > > then just put > > <?php > require("var.php"); > ?> > > - seb > > -----Original Message----- > From: CrossWalkCentral [mailto:support@crosswalkcentral.net] > Sent: 19 August 2001 03:18 > To: php-db@lists.php.net > Subject: [PHP-DB] Include > > > OK here is one for you folks that know what you are doing. > > I am making a script and I have about 5 php files in it. That have alot of > the same system variables can I create one file with these settings in it > and if so any one want to give me some hints on this > > thanks again. > > -- > Cross Walk Central > www.crosswalkcentral.net > Support Center > Your Web Hosting Community! > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#11513) next »