_server/user.php
/**
 * Returning codes:
 * 0 = success for one project
 * 1 = success for all projects

 */
Returning codes:
0 = success for one project
1 = success for all projects
Returning codes : 0 = success for one project 1 = success for all projects
function userLogout() {
	$return["status"] = "success";
	session_destroy();
	$return["code"] = 1;
	$return["string"] = "Logout success";
	return $return;
}
function userLogout ( ) { $ return [ " status " ] = " success " ; session_destroy ( ) ; $ return [ " code " ] = 1 ; $ return [ " string " ] = " Logout success " ; return $ return ; }
Returning codes:
 0 = success for one project
 1 = success for all projects
Returning codes : 0 = success for one project 1 = success for all projects