class Cpanel { var $user; var $password; var $domain; var $theme; function __construct($username='', $password='', $domain='', $theme='x3'){ //Assign Variables $this->user=$username; $this->password=$password; $this->domain=$domain; $this->theme=$theme; } /*-- Create The Database --*/ function CreateDB($db){ $request="/frontend/$this->theme/sql/addb.html?db=$db"; return $this->check($this->run($request)); } . . .