HI,
I have a php login system which adds php code to the top of each page to restrict access, unless you are logged in, (code below)
Now this works fine, but i want to use this login system on a web app i am building using Phone Gap, which doesn't allow me to use php pages. Is it possible to use JSON to replicate this function by checking the session.php page. And if so does anybody now how i would go about that, as i am new to JSON and can not find anything similar.
include("include/session.php");
if($session->logged_in){
Thanks
Sam