Jump to content

Creating a new user account via web link http post


trappedatuf

Recommended Posts

Right now, my current software takes orders on my website and creates an entry in our seperate database system.

 

I can have it format a string that can be just entered into a browser window and it will then create the account in WHMCS... that is if WHMCS accepts GET requests.

 

For example: http://www.mywhmcslink.com/admin/clientsadd.php?firstname=John&lastname=Doe&companyname=Test%20Company&email=johndoe@email.com (etc...)

 

Then if I paste that link into a browser it will call WHMCS and create that account. Now the only thing is that it will have to be a public function I am sure, so if someone could give me some advice on how to do this it would be much appreciated.

 

PS: I know I could have my other software just add it the client info to the WHMCS database directly by an internal function I write, but I would rather do it the link way because it would be much easier.

 

Thanks for the help,

Dave

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated