/************************
file name: login_chk.php3
************************/
if ($yn!="yes") {
echo "<script language="javascript"> ";
echo "<!-- ";
echo "history.back () ; ";
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") ";
echo "--> ";
echo "</script> ";
exit;
}
?>
Example:
<? require("login_chk.php3"); ?>
<!--file name: sample.php3-->
<html>
<head></head>
<body>
Success! You have pass the checking.
</body>
<html>

