i want to logon using a simple php page, not the 'single login' functionality
i have a <form> and the variables to submit: $emailhandle and $password
Is there a function to accept these and check if valid and then direct to the main QtoA page?
e.g. something like:
if qa_check_logon_details( $emailhandle,$password, $remember) == true
{
require 'qa-include/qa-index.php'
}
else {
back to logon page
}
(qa_get_logged_in_userid()===null) is useful ot check if user is already logged in, but i need the step before this to actually login.
thanks