[eluser]123wesweat[/eluser]
Hi all,
I am trying to get an user status based on a CI controller but on a non CI part of my website.
So i have created a checkstatus controller and when i directly approach the controller it works (login or logout). But when i try to include the output in a non CI part of my website it doesn't work
this is what i try in my non CI part
Code:
ob_start();
include('http://www.mydomain.com/checkstatus');
$return = ob_get_contents();
ob_end_clean();
echo $return;
Any tips?