PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of raja   Login and DB classes quick start   ???   Download  
File: ???
Role: Configuration script
Content type: text/plain
Description: DB config File
Class: Login and DB classes quick start
Authenticate users with records in MySQL database
Author: By
Last change:
Date: 17 years ago
Size: 390 bytes
 

Contents

Class file image Download
<?php
$server
= "localhost"; // server to connect to.
$database = "yourDB"; // the name of the database.
$db_user = "root"; // mysql username to access the database with.
$db_pass = "yourPassword"; // mysql password to access the database with.
$link = mysql_connect($server,$db_user,$db_pass);
mysql_select_db($database,$link); // the table that this script will set up and use.
?>