<?php$EServer = $_REQUEST["Eserver"]; //服务商 
$UN = $_REQUEST["username"]; //用户名 
$PW = $_REQUEST["Password"]; //密码
$yh = chr(34);
$TheStr = "";// 内容初始化 预设初值
$TheInfoL = 1;
$TheInfoV[0] = "";
$TheInfoN[0] = "post";
$TheInfoV[1] = $UN;
$TheInfoN[1] = "user";
$TheInfoV[2] = $PW;
$TheInfoN[2] = "pass";switch ($EServer)
{
    case "@yeah.net":
        $TheInfoV[0] = "http://web.yeah.net/cgi/login";
        $TheInfoL = 2;
        break;
    case "@mail.com":
        $TheInfoV[0] = "http://www.mail.com/mailcom/login.jhtml?mn=TheN&pw=TheP";
} if ($TheInfoL <= 1)
{
$TheInfoV[0] = str_replace("TheN", $UN, $TheInfoV[0]);
$TheInfoV[0] = str_replace("TheP", $PW, $TheInfoV[0]);
header("Location: $TheInfoV[0]");

else
{
$Str = "<html><title>方 便 您 的 网 络 畅 游 !</title><body oncontextmenu=self.event.returnValue=false><form action=" . $yh . $TheInfoV[0] . $yh . " method=" . $TheInfoN[0] . " name=eform>正在进入<font color=red>" . $EServer . "</font>邮件系统,请稍侯";
    for($ii = 1;$ii <= $TheInfoL;$ii++)
    {
        $Str .= "<input type=hidden name=" . $TheInfoN[$ii] . " value=" . $yh . $TheInfoV[$ii] . $yh . ">";
    }
$Str .= "</form>" . $TheStr . "<script language=" . $yh . "javascript" . $yh . ">document.eform.submit(eform.form)</script></body></html>";
    echo $Str;
}
?>