|
$this->Connect = @mysql_connect( $Server, $User, $Password );
if ( !$this->Connect ) {
$this->Error = "version --> " . phpversion() . "<br />";
$this->Error .= "<b>dbmysql_connect</b><br />";
$this->Error .= __FILE__ . "<br />";
$this->Error .= "FUNCTION -->" . __FUNCTION__ . "<br />";
$this->Error .= "CLASS --> " .__CLASS__ . "<br />";
if ( substr( phpversion(), 0, 1 )+0 > 4 ) {
$this->Error .= "METHOD --> " . __METHOD__ . "<br />";
}
else {
$this->Error .= "METHOD --> ? : use php5<br />";
}
return;
}
| |