userdelete.php 264 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php require_once "include.php"; if($user->isAdmin()) { $i = intval($_GET['i']); if (($i > 1) && ($session->isEnoughOld())) { $us = new User($i); $us->eraseUser(); } else { problem(); } } else { access_denied(); } ?>