一个基于mysql的登陆验证程序(三)

发表于:2007-07-01来源:作者:点击数: 标签:
? /************************ file name: login_chk. php 3 ************************/ if ($yn!=yes) { echo script language=\ java script\\n; echo !--\n; echo history.back () ;\n; echo window.open (@#../login/login.htm@#,@#login@#,@#height=116,w
<?
/************************
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>
Suclearcase/" target="_blank" >ccess! You have pass the checking.
</body>
<html>

原文转自:http://www.ltesting.net