$xmla = simplexml_load_file('todoist.xml'); if($xmla->token== '' || $xmla->token == null) header('Location: index.php'); if($xmla->name == '' || $xmla->name == null):?>