\n";
echo "[返回]抱歉,文件清单为空!\n";
echo "\n";
} elseif (!stripos($_GET['mail'], "@")) {
echo "
\n";
echo "[
返回]抱歉,明显不是邮箱!\n";
echo "
\n";
} else {
echo "\n";
echo "
文件列表(操作结果)\n";
echo "
\n";
echo "\n";
if (function_exists("pcntl_fork")) {
$pid = pcntl_fork();
}
if (!isset($pid)) {
if (___sendfile(trim($_GET['mail']), $_SESSION['flist'])) {
echo "系统已经发送邮件!\n";
} else {
echo "系统无法发送邮件!\n";
}
} elseif ($pid == -1) {
if (___sendfile(trim($_GET['mail']), $_SESSION['flist'])) {
echo "系统已经发送邮件!\n";
} else {
echo "系统无法发送邮件\n!";
}
} else {
if ($pid == 0) {
___sendfile(trim($_GET['mail']), $_SESSION['flist']);
exit;
}
echo "系统正在投递邮件!\n";
}
echo "
\n";
}
xhtml_footer();
?>