gary4gar Posted September 17, 2011 Share Posted September 17, 2011 Hi, I am making some Ajax calls from Portal Home > Client Area > My Products & Services > Product Details using jQuery to custom php script on server. Now in that custom php script, I want to act on the ajax requests, only if its coming valid whmcs user who is logged in. so my question is how to handle authentication. I want to check if user is a valid whmcs user or not. 0 Quote Link to comment Share on other sites More sharing options...
sdemidko Posted September 18, 2011 Share Posted September 18, 2011 following the guide from here http://docs.whmcs.com/Creating_Pages you need to check uid session variable if ($_SESSION['uid']) { //doing your operation for valid user } 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.