View file openDB.php
<?php /* * W@Pchat * Current Version : 1.2 * Author : Harris Yusuf Arifin (earthweb.biz) * License : free * You you can redistribute it and/or modify this script but please always put author's name */ include("config.inc.php"); $sesDB = mysql_connect($server,$user,$pass); mysql_select_db($dbname,$sesDB); ?>