jul/ext/hydra.php
2015-08-08 22:45:34 -07:00

13 lines
256 B
PHP

<?php
header("Content-type: text/plain");
$userid = intval($_GET['u']);
if (!$userid) die("No userid specified.");
chdir("..");
require 'lib/function.php';
print $sql -> resultq("SELECT `posts` FROM `users` WHERE `id` = '$userid'");