View Single Post
  #1 (permalink)  
Old March 22nd, 2005, 05:07 PM
chokk chokk is offline
Registered User
 
Join Date: Mar 2005
Location: Columbia, MD, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Reply With Quote