Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block winofi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
winofi / poll.php
Last active Jan 20, 2019
suggested wspr polling interface
View poll.php
//get start parameter (intval returns 0 for bad integer values)
$start = intval($_GET["minid"]);
//create database connection (assuming some sort of mysql is uses)
$db = new mysqli("localhost", "root", "root", "wspr");
//query the data, limit might be modified
$res = $db->query("SELECT * FROM `spots` WHERE `spot_id` > ".$start." LIMIT 0, 1000;");
You can’t perform that action at this time.