This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
inside/inside/updateuserexpiry.php
T
2011-09-14 16:23:13 +02:00

16 lines
289 B
PHP

<?php
header("Content-type: application/xml");
print('<?xml version="1.0" encoding="ISO-8859-1"?'.'>');
require_once "includes.php";
$userid = $_GET['userid'];
$value = $_GET['value'];
if($value == 'lifetime') $value = null;
$user = new User($userid);
$user->updateExpiry($value);
?>