Forbidden access chapter12 page 361
I am getting "Forbidden Access" Error Page - (Eddor Code 403) when I try to run cmstables.php. It apparently has something to do with the conn.php header file whic I set up as follows:
<?php
define('SQL_HOST','localhost');
define('SQL_USER','root');
define('SQL_PASS','');
define('SQL_DB','CMS');
$conn = mysql_connect(SQL_HOST,SQL_USER,SQL_PASS) or die('Could not connect to the database; ' . mysql_error());
$db = mysql_select_db(SQL_DB,$conn) or die('Could not select database; ' . mysql_error());
?>
Can someone helpl me with this? Thanks.
chokk
|