Offering 300 $FRIH for someone that can solve my problem.
Hopefully one of you is familiar with WHM anyways I have a reseller account and I am trying to get an automated account creation script working the only thing I wasn't coding myself was the part that requests WHM to create an account so I found this script:
I have replaced certain information to protect confidential information but anyways. When I execute the script like this I get the response and it says this:
When I run the url in my browser it asks me twice to login with the apache .htaccess login window twice I input the username and password and then it works and succeeds at creating the account.
So is this an extra security feature?
Because, as I can see a lot of people were happy with it only one person I can see had the same problem as me, I am wonder is there a way to fix it?
http://www.zubrag.com/scripts/create-cpanel-whm-account.php
Thanks[/b]
Hopefully one of you is familiar with WHM anyways I have a reseller account and I am trying to get an automated account creation script working the only thing I wasn't coding myself was the part that requests WHM to create an account so I found this script:
| Code: |
|
<?php if (isset($_POST['submitted'])) { $plan = $_POST['plan']; $domain = $_POST['domain']; $username = $_POST['username']; $password = $_POST['password']; $contactemail = $_POST['email']; $url = "http://*WHMusername*:*WHMpassword*@255.255.255.255:2086/scripts/wwwacct?plan=$plan&domain=$domain&username=$username&password=$password&contactemail=$contactemail"; $result = file_get_contents($url); echo $result; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> </head> <body> <form method="post" action=""> Plan<input type="text" name="plan" value="oysolut_Starter Plan" /><br /> Domain<input type="text" name="domain" /><br /> Username<input type="text" size="5" name="username" /><br /> Password<input type="password" name="password" /><br /> Email<input type="text" name="email" /><br /> <input type="submit" name="submitted" value="Submit" /> </form> </body> </html> |
I have replaced certain information to protect confidential information but anyways. When I execute the script like this I get the response and it says this:
| Quote: |
|
Create a new Account Account Creation Status: failed (Sorry unable to proceed. Too little information *user? *domain? *pass?.) Sorry unable to proceed. Too little information *user? *domain? *pass?. |
When I run the url in my browser it asks me twice to login with the apache .htaccess login window twice I input the username and password and then it works and succeeds at creating the account.
So is this an extra security feature?
Because, as I can see a lot of people were happy with it only one person I can see had the same problem as me, I am wonder is there a way to fix it?
http://www.zubrag.com/scripts/create-cpanel-whm-account.php
Thanks[/b]
