<?php // This is just a dummy implementation during the development of the GTK+3 GUI if ($_SERVER['HTTP_X_TOKEN'] != "123456") die("Invalid token.\n"); if (isset($_GET['meta'])) { if ($_GET['id'] == "BF09CE") { ?> { "title" : "Cute Wifi Cat", "description" : "802.11nya~", "comment" : "It's mewine!" } <?php } else if ($_GET['id'] == "BE6200") { ?> { "title" : "Crazy Stuff", "description" : "It blinks. Or explodes.", "comment" : "Like the kittens." } <?php } else { ?> { "title" : "INVALID", "description" : "INVALID", "comment" : "INVALID" } <?php } } ?>