<?php
$link = mysql_connect("localhost", "mysql_user", "mysql_password");
if (mysql_errno() == 1203) {
// L'erreur 1203 signifie ER_TOO_MANY_USER_CONNECTIONS (mysqld_error.h)
header("Location: http://ton.site.com/page_alternative.php");
exit;
}
?>