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/grantcardno.php
T
2009-10-13 15:43:04 +02:00

17 lines
354 B
PHP

<?php
header("Content-type: application/xml");
print('<?xml version="1.0" encoding="ISO-8859-1"?'.'>');
require_once "includes.php";
$userid = $_GET["userid"];
$user = new User($userid);
$user->grantCardno();
?>
<user>
<cardno><?php print $user->cardno; ?></cardno>
<expires><?php print date("Y", strtotime($user->expires)); ?></expires>
</user>