mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-07-31 12:12:01 -07:00
First (re-)commit
This commit is contained in:
12
ext/hydra.php
Normal file
12
ext/hydra.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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'");
|
||||
|
||||
|
Reference in New Issue
Block a user