Jump to content

POST information to a php file from Database


PrvtPilot

Recommended Posts

Hi,

 

I have a program that I would like to integrate to WHMCS. This system has it's own user signup form. When a new client fills out the form the form action is:

 

form method="POST" action="newuser.php"

 

What I want to do is open the WHMCS database, grab client/server information and "POST" it to the "newuser.php" file.

 

I know how to get the info from the WHMCS database, Just not sure how to pass it to the "newuser.php" once I have it.

 

I believe that this is what the "newuser.php" is looking for:

 

//function to call user creation script

function createUser($username, $password, $type, $domain, $machine,$serverurlname,$linkedbuild,$regindex)

 

Any help would be greatly appreciated

Dean

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