Use Hesk Login System for own script
Posted: Mon Feb 24, 2014 8:53 am
Script URL:
Version of script: 2.5.2
Hosting company: own
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi, is it possible to use HESK login system on a script i wrote myself?
I have a small CMS backend written by myself which uses a simple authentication script. It would be great if i could use the login system from HESK. I tried to use the header in my code but it just forwards me to my index.php. Did anyone try somethin similar?
Thanks in regards,
ferhub
Version of script: 2.5.2
Hosting company: own
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi, is it possible to use HESK login system on a script i wrote myself?
I have a small CMS backend written by myself which uses a simple authentication script. It would be great if i could use the login system from HESK. I tried to use the header in my code
Code: Select all
/* Get all the required files and functions */
require(HESK_PATH . 'hesk_settings.inc.php');
require(HESK_PATH . 'inc/common.inc.php');
require(HESK_PATH . 'inc/admin_functions.inc.php');
hesk_load_database_functions();
hesk_session_start();
hesk_dbConnect();
hesk_isLoggedIn();
Thanks in regards,
ferhub