Zonisto Posted November 11, 2016 Share Posted November 11, 2016 Hi there, Is it possible to reference variables such as {$loggedin} in a directory outside of whmcs? For example say my structure was: WHMCS (Folder) Index.html Would I be able to get Index.html to check if the user is logged into WHMCS already? Thanks 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted November 11, 2016 Share Posted November 11, 2016 outside mean the same domain still, right? let's assume that you can include /init.php file outside of WHMCS main directory without errors, the target file need to be .php not .html, and you need to use $_SESSION['uid'] instead of $loggedin 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.