You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ryzom-core/ryzom/tools/server/www/mail.php

22 lines
371 B
PHTML

<?php
include_once('utils.php');
unset($user);
$user = $user_login;
importParam('msg');
$user_dir = get_user_dir($user, $shard);
$fname = $user_dir."mail_$msg.html";
if (!is_dir($user_dir) || !file_exists($fname))
{
include_once('mailbox.php');
die();
}
$f = fopen($fname, 'r');
echo fread($f, filesize($fname));
fclose($f);
/* display_time(); */
?>