"php_selector", "domain" => "usr0364.htm5.howtom."/> "php_selector", "domain" => "usr0364.htm5.howtom."/> "php_selector", "domain" => "usr0364.htm5.howtom"/>
This works
Code:
$result3 = $da->query("CMD_API_DOMAIN",
array("action" => "php_selector",
"domain" => "usr0364.htm5.howtomoodle.com",
"ubandwidth" => "unlimited",
"uquota" => "unlimited",
"php1_select" => "2",
"php2_select" => "1",
"ssl" => "ON",
"php" => "ON",
), "POST");
Array
(
[error] => 0
[text] => PHP versions saved
[details] =>
[#60;a_href] =>
[#61;] =>
[#34;CMD] =>
[#95;ADDITIONAL] =>
[#95;DOMAINS] =>
[#63;action] =>
[#61;view] =>
[#38;domain] =>
[#61;usr] =>
[#48;] =>
[#51;] =>
[#54;] =>
[#52;_htm] =>
[#53;_howtomoodle_com] =>
[#34;] =>
[#62;Back] =>
[#60;/a] =>
[#62;] =>
)
This doesn't look a very friendly output but it does switch the versions as a need it to.
Maybe this post will save someone trial and error time in the future.
Thanks
Paul
برچسب:
نویسنده: ایمان اصلاحی