Hey there, I just came across a really busy site due to the murder on Pim Fortuyn in the Netherlands. Anyways, this site gives a really nice error message. I put it below. Is this a PHP function/mode/config option or where these things written by the people who maintain PHP on that site?
It looks like this: Warning: Access denied for user: 'icon@localhost' (Using password: YES) in /home/sites/www.icondolement.nl/web/com/icon2/include/mysql.inc.php on line 8 Connection Error MySQL Error : Connection Error Error Number: 1045 Access denied for user: 'icon@localhost' (Using password: YES) Date : Tue, May 7, 2002 10:35:52 IP : 80.60.70.114 Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Referer : http://www.icondolement.nl/com/icon2/guestbook More or less... This client doesn't render it exactly the same as IE... The source: <html> <head> <title>Icondolement</title> <meta name="keywords" content="php, script, mySQL, free, guestbook, advanced"> <style type="text/css"> <!-- .font1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8.5pt; color: #000000 } .font2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 7.5pt; color: #000000 } .font3 { font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt; color: #000000; font-weight: bold} .select { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt} .input { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt} A:hover {text-decoration: underline; color:red;} --> </style> <base href="http://www.icondolement.nl/com/icon2/"> </head> <body bgcolor="#FFFFFF" link="#000000" vlink="#000000"> <br> <b>Warning</b>: Access denied for user: 'icon@localhost' (Using password: YES) in <b>/home/sites/www.icondolement.nl/web/com/icon2/include/mysql.inc.php</b> on line <b>8</b><br> <b><font size=4 face=Arial>Connection Error</font></b><hr><pre>MySQL Error : Connection Error Error Number: 1045 Access denied for user: 'icon@localhost' (Using password: YES) Date : Tue, May 7, 2002 10:35:52 IP : 80.60.70.114 Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Referer : http://www.icondolement.nl/com/icon2/guestbook.php </pre> Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php