$this->Settings = array( "host" => $host , "user" => $user , "pass" => $pass );
$this->db = $db;
$this->Settings["name"] = ereg_replace ("_", "", $this->db);
$this->init();
I have an application that can't work after migrating to php 5.3 from php 5.2.
Even after i changed the ereg_replace line above to
$this->aSettings["name"] = preg_replace("/_/", "", $this->db);
It still doesn't get the settings from the db.