polyglot2 Posted March 6, 2008 Share Posted March 6, 2008 What PHP function to use when we need to encrypt/decrypt password in the database (e.g. in tblclients or tblservers). 0 Quote Link to comment Share on other sites More sharing options...
polyglot2 Posted March 6, 2008 Author Share Posted March 6, 2008 Okay, I think it's encrypt() and decrypt(), but these functions require two parameters and the second one seem to be a secret key which I do not know what... 0 Quote Link to comment Share on other sites More sharing options...
bear Posted March 6, 2008 Share Posted March 6, 2008 That file is encrypted. How would you know what it contains? 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted March 6, 2008 Share Posted March 6, 2008 Have a look here - http://v3manual.whmcs.com/display.php?id=139 0 Quote Link to comment Share on other sites More sharing options...
polyglot2 Posted March 6, 2008 Author Share Posted March 6, 2008 Ok, got it. Thanks, Brett! 0 Quote Link to comment Share on other sites More sharing options...
Dharmanath Posted March 28, 2008 Share Posted March 28, 2008 please let me know how you managed to encrypt the password. The information in the wiki is difficult for me to understand for implementation. dharmanath 0 Quote Link to comment Share on other sites More sharing options...
nielsenj Posted March 28, 2008 Share Posted March 28, 2008 please let me know how you managed to encrypt the password. The information in the wiki is difficult for me to understand for implementation. dharmanath The password is encrypted using the API, the API takes care of that for you. You send it as a parameter in plain text. See here: http://wiki.whmcs.com/API:Example_Usage for communicating using the API. 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.