Jump to content

"Internal" API Usage


Recommended Posts

Hello all,


Let me start off by saying i searched for api and it yielded no results (suppressing the flames before they begin :P)


Anyhow I am currently using whmcs in subdirectory strictly as a client portal and order staging area but my question is about the api usage. I have my site built around another framework and would like to call upon whmcs api to get some data and validation. Do I really have to open up a cURL request for every api call for whmcs that sits in a subdirectory?


I hope not as that seems like a bit much for overhead. Any ideas are welcome and thank you.

Link to comment
Share on other sites

  • 2 weeks later...

Ty laszlof for your reply, im implementing it and managed to get to get the validatelogin functioning properly. One more question on that subject, our application is built around codeignitor which is using non standard sessions. I think i have set the session data set appropriately for autologin to whmcs but its not working, any tips?

                # Set a regular $_SESSION for autologin to client area
               $_SESSION['uid'] = $de['userid'];
               $_SESSION['upw'] = $va['passwordhash'];


Thank 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.

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