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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> chuck all the common variables in var.php
>
> then just put
>
> <?php
> require("var.php");
> ?>
>
> - seb
>
> -----Original Message-----
> From: CrossWalkCentral [mailto:[EMAIL PROTECTED]]
> Sent: 19 August 2001 03:18
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to