vladka24 Posted August 2, 2014 Share Posted August 2, 2014 Hello, so I want WHMCS to run a php script where it runs a MySQL query which creates an account. How would I be doing so, I also want to it to be on a specific product. 0 Quote Link to comment Share on other sites More sharing options...
kargh Posted August 2, 2014 Share Posted August 2, 2014 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. 0 Quote Link to comment Share on other sites More sharing options...
vladka24 Posted August 2, 2014 Author Share Posted August 2, 2014 Hah, pay you.. No way. Anyway I've downloaded the provisioning sdk which is basically allows me todo everything I wanted. 0 Quote Link to comment Share on other sites More sharing options...
kargh Posted August 3, 2014 Share Posted August 3, 2014 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.