You should have:
PHP Code:
$sock->query('/CMD_API_DATABASES',
array(
'action' => 'create',
'name' => "db",
'user' => "dbuser",
'passwd' => "$pass",
'passwd2' => "$pass",));
By the way here
PHP Code:
$uname = "username";
$upass = "password";
p.s. If it does not solve the issue, please specify What error you have?
برچسب:
نویسنده: ایمان اصلاحی