Creation of the world
This commit is contained in:
21
ajax/saveTodoist.php
Normal file
21
ajax/saveTodoist.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?
|
||||
|
||||
$xmla = simplexml_load_file('../db/todoist.xml');
|
||||
|
||||
if(isset($_GET['token'])){
|
||||
|
||||
$token = trim($_GET['token']);
|
||||
|
||||
|
||||
|
||||
$xmla->addChild("token", $token);
|
||||
|
||||
|
||||
|
||||
$xmla->asXML('../db/todoist.xml');
|
||||
|
||||
|
||||
|
||||
echo $token;
|
||||
|
||||
}else if(isset($_GET['name']) && isset($_GET['id'])){
|
Reference in New Issue
Block a user