Author Topic: cPanel/WHM Account Creator for Reseller  (Read 2930 times)

Musthabshir

  • Orange Belt
  • ***
  • Posts: 69
  • Karma: +0/-0
cPanel/WHM Account Creator for Reseller
« on: August 30, 2013, 04:12:10 AM »
hi.

    WHM Account Creator will automatically create user account in cPanel/WHM,
create subdomain in WHM (or assign domain to the user account),
and pre-configure hosting package automatically (ftp, email, quota, etc).

Requirements:
cPanel WHM

Features:
Quick and easy setup: just download it, unzip, open in your favorite plain text editor (like Notepad for Windows, or vi for Unix, etc.), update script with your WHM account login data (YOUR WHM LOGIN DATA block), and save it somewhere on your server.
No need to login to your WHM each time you need to create new user account. You will provide only new user account settings.
Script can be executed either from browser, or run from your existing PHP script.
All options for new account can be tuned by passing parameters to the script.
You can password protect it from cPanel, or using simple password protection script.

Accepts parameters:
domain - domain or subdomain to be assigned to new account. Sample domain: reseller.com, Sample sub-domain: newuser.reseller.com
user - new account username
password - password for new account
package - hosting package (plan) for the user. Package needs to be setup already using WHM. Quota is controlled in package

Sample usage (3 possible options):
Enter script's url in the browser, fill the form data, and press Create Account button
Create account by passing all parameters via url.
http://domain.com/auto/create-whm-account.php?domain=reseller.com&user=hosting&password=manager&package=unix2
If you want to execute it from existing php script then add following code
$user_domain = "userdomain"; // new account domain
$user_name = "username"; // new account username
$user_pass = "password"; // new account password
$user_plan = "hosting_plan"; // new account hosting package (plan)
include ("create-whm-account.php"); // this will create domain / subdomain

Note: It will not create subdomains if you do not have cPanel/WHM account. If you would like to create subdomain on non-WHM cPanel account then use cPanel Subdomain Creator instead.

sams

  • Orange Belt
  • ***
  • Posts: 78
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #1 on: September 02, 2013, 06:18:28 PM »
Hello sir,
What is Remote Procedure Call (RPC)?

sumesh

  • Orange Belt
  • ***
  • Posts: 94
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #2 on: September 02, 2013, 06:19:03 PM »
Hello sir,
RPC hides the intricacies of the network by using the ordinary procedure call mechanism familiar to every programmer. A client process calls a function on a remote server and suspends itself until it gets back the results. Parameters are passed like in any ordinary procedure. The RPC, like an ordinary procedure, is synchronous. The process that issues the call waits until it gets the results.
Under the covers, the RPC run-time software collects values for the parameters, forms a message, and sends it to the remote server. The server receives the request, unpack the parameters, calls the procedures, and sends the reply back to the client. It is a telephone-like metaphor.
Thanks

Rizwan

  • Green Belt
  • *****
  • Posts: 234
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #3 on: October 01, 2013, 07:37:30 AM »
Hello,

In computer science, a remote procedure call (RPC) is an inter-process communication that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction. That is, the programmer writes essentially the same code whether the subroutine is local to the executing program, or remote. When the software in question uses object-oriented principles, RPC is called remote invocation or remote method invocation.

nidhinpereira

  • Green Belt
  • *****
  • Posts: 261
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #4 on: March 07, 2014, 10:17:42 AM »
Remote Procedure Call (RPC) is a protocol that one program can use to request a service from a program located in another computer in a network without having to understand network details. (A procedure call is also sometimes known as a function call or a subroutine call.) RPC uses the client/server model. The requesting program is a client and the service-providing program is the server. Like a regular or local procedure call, an RPC is a synchronous operation requiring the requesting program to be suspended until the results of the remote procedure are returned. However, the use of lightweight processes or threads that share the same address space allows multiple RPCs to be performed concurrently.

pavithra101

  • Green Belt
  • *****
  • Posts: 220
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #5 on: March 08, 2014, 12:24:16 AM »
Hello,

A communication model where requests are made by function calls to distributed procedure elsewhere. The location of the procedures is transparent to the calling application.It is an inter-process communication that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction.

Thanks,
Pavithra

nidhinpereira

  • Green Belt
  • *****
  • Posts: 261
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #6 on: March 09, 2014, 12:04:58 PM »
In computer science, a remote procedure call (RPC) is an inter-process communication that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction[1]. That is, the programmer writes essentially the same code whether the subroutine is local to the executing program, or remote. When the software in question uses object-oriented principles, RPC is called remote invocation or remote method invocation.

Many different (often incompatible) technologies have been used to implement the concept.

shajahan

  • Green Belt
  • *****
  • Posts: 341
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #7 on: April 30, 2014, 01:46:35 AM »
Remote Procedure Call (RPC) is a protocol that one program can use to request a service from a program located in another computer in a network without having to understand network details. (A procedure call is also sometimes known as a function call or a subroutine call.) RPC uses the client/server model. The requesting program is a client and the service-providing program is the server. Like a regular or local procedure call, an RPC is a synchronous operation requiring the requesting program to be suspended until the results of the remote procedure are returned. However, the use of lightweight processes or threads that share the same address space allows multiple RPCs to be performed concurrently.

santhoshidatasoft

  • Brown belt
  • ******
  • Posts: 668
  • Karma: +0/-0
Re: cPanel/WHM Account Creator for Reseller
« Reply #8 on: June 26, 2016, 11:05:17 AM »
RPC hides the intricacies of the network by using the ordinary procedure call mechanism familiar to every programmer. A client process calls a function on a remote server and suspends itself until it gets back the results. Parameters are passed like in any ordinary procedure. The RPC, like an ordinary procedure, is synchronous. The process that issues the call waits until it gets the results.
Under the covers, the RPC run-time software collects values for the parameters, forms a message, and sends it to the remote server. The server receives the request, unpack the parameters, calls the procedures, and sends the reply back to the client. It is a telephone-like metaphor.