V
V
Vladimir Mironov2015-07-27 19:46:28
Network administration
Vladimir Mironov, 2015-07-27 19:46:28

WHMCS how to check user for authorization?

Hello.
Actually, what function will give us a response to whether the user is authorized in front of us or not?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2015-07-27
@Siseod

just check availability$_SESSION[ 'uid' ]

L
Lucky_Frost, 2015-07-28
@Lucky_Frost

I implemented it like this:

define("CLIENTAREA",true);
require("./bill/init.php");
$ca = new WHMCS_ClientArea();

if ($ca->isLoggedIn())
{ ... }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question