Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once "../xmlapi.php" ;
- $ip = getenv('REMOTE_HOST');
- $root_pass = getenv('REMOTE_PASSWORD');
- $xmlapi = new xmlapi($ip);
- $xmlapi->password_auth("root",$root_pass);
- $xmlapi->set_debug(1);
- $acct = array( username => "someuser", password => "pass123", domain => "thisdomain.com");
- print $xmlapi->createacct($acct);
- ?>
Add Comment
Please, Sign In to add comment