I'm working with my host to resolve why I am getting these error messages, but in the meantime, I am getting this message on the website:

Warning: mysql_connect(): Too many connections in /path/number/user/ code/connect.php on line 10 Sorry: Could not connect to database. Please contact the webmaster at [EMAIL PROTECTED]

Where my connection code is:

        $con = mysql_connect($host, $dbuser, $pw)
or die("Sorry: Could not connect to database. Please contact the webmaster at [EMAIL PROTECTED]");
        @mysql_select_db($db,$con);

The questions is, since I don't have error reporting turned on, why am I getting an error message that includes the complete path to my connect script.... something I would like to not be telling the general public? Is there a way to suppress that?

--
Kevin Murphy
Webmaster: Information and Marketing Services
Western Nevada Community College
www.wncc.edu
775-445-3326


Reply via email to