PHPBuilder - Cross-platform and Portable Development With PHP Page 3



RSS Twitter
Articles Databases

Cross-platform and Portable Development With PHP - Page 3

by: PHP Builder Staff
|
July 20, 2001

On each target we include a tiny file which specifies the database in use, the hostname, username and password. Here is an edited version:

<?
// config.php
//
 
 
// database management system ('mssql' or 'mysql'):
$DBms 'mysql';
 
// database server:
$DBhost 'landlord.gbdirect.co.uk';
 
$DBuser 'xxxx';
$DBlpass 'yyyy';
 
// database:
$DBname 'zzz';
?>

« Previous Page
1
|
2
|
3
|
4
|
5
|
6
|
7
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:

Comment:



Comment:

(Maximum characters: 1200). You have characters left.