Login   Register  
PHP Classes

File: config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of raja  >  Login and DB classes quick start  >  config.php  >  Download  
File: config.php
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: 6 years ago
Size: 390 bytes


Class file image Download
"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.