We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I exec script below, And php will show save file windows, How close it? $cpanelusr = ''; //username cpanel $cpanelpass = ''; //password cpanel $domainroot = 'XXX.com.tw'; //root domain $subdomain = 'TEST'; //sudomain $xmlapi = new xmlapi('localhost'); //link cpanel (can use ip) //create_subdomain($domain,$xmlapi); // $xmlapi->set_output('array'); $xmlapi->set_port( 2083 ); //port cpanel $xmlapi->password_auth($cpanelusr,$cpanelpass); $xmlapi->set_debug(1); //output actions in the error log 1 for true and 0 false file_get_contents($xmlapi->api1_query($cpanelusr, 'SubDomain', 'addsubdomain', array($subdomain, $domainroot,0,0, "/public_html/")));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I exec script below, And php will show save file windows, How close it?
$cpanelusr = ''; //username cpanel
$cpanelpass = ''; //password cpanel
$domainroot = 'XXX.com.tw'; //root domain
$subdomain = 'TEST'; //sudomain
$xmlapi = new xmlapi('localhost'); //link cpanel (can use ip)
//create_subdomain($domain,$xmlapi); //
$xmlapi->set_output('array');
$xmlapi->set_port( 2083 ); //port cpanel
$xmlapi->password_auth($cpanelusr,$cpanelpass);
$xmlapi->set_debug(1); //output actions in the error log 1 for true and 0 false
file_get_contents($xmlapi->api1_query($cpanelusr, 'SubDomain', 'addsubdomain', array($subdomain, $domainroot,0,0, "/public_html/")));
The text was updated successfully, but these errors were encountered: