Jump to content

Running MySQLi function


vladka24

Recommended Posts

If I'm not mistaken, you'd have to create your own db connection as WHMCS doesn't use MySQLi or PDO (it is still on the deprecated MySQL).

 

There are probably several ways to achieve what you want, as far as the actual purpose of the script. I created a server script myself that is similar to what you are doing, except that it integrates with the Password Manager and creates empty password fields for clients when they purchase specific products (that way, they can enter their passwords for mysql, servers, etc. in a secure environment rather than via plaintext).

 

If you are comfortable with editing PHP code, I'll provide you with the script and you can change it to use the Add Client API, otherwise shoot me a PM if it is something you'd rather pay for.

Link to comment
Share on other sites

Hah, pay you.. No way. Anyway I've downloaded the provisioning sdk which is basically allows me todo everything I wanted.

 

I guess you missed the part where I said I'd give you my code for free if you felt comfortable working with PHP. Anyways, glad you found something that works for you.

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