日期:2010-12-18  浏览次数:20544 次

<?
/************************
file name: login_chk.PHP3
************************/
if ($yn!="yes") {


    echo "<script language=\"javascript\">\n";
    echo "<!--  \n";
    echo "history.back () ;\n";
    echo "window.open ('../login/login.htm','login','height=116,width=210,top=120,left=200,toolbar=no,menubar=no,scrobllbar=no,resizable=no,location=no,status=no')\n";
    echo "--> \n";
    echo "</script> \n";
    exit;
}
?>

Example:
<? require("login_chk.PHP3"); ?>
<!--file name: sample.PHP3-->
<HTML>
<head></head>
<body>
Success! You have pass the checking.
</body>
<HTML>