Closed akumagio closed 11 years ago
Hello
Thank you for attention to this thing.
Online.php is just one line php script wich allows cross-domains requests.
<?php header("Access-Control-Allow-Origin: *");
I`ll add this file to repository a bit later. At the moment you can just copy this code to php file and save it on server.
online.php was added to repo
also you can use static file with same headers set, will be a bit faster
Hi First, thanks to your code I can make an application offline. but I like to have or know what the code of online.php to put it on my server and have more control over the connection status.
thanks