RYAN'S BLOG - INTO THE ORACLE
DBStyle'S BLOG - INTO THE ORACLE
Oracle,Sybase,Unix,Linux Technology
//打印上一个session;
//echo "上一个session:".$_SESSION["authnum_session"]."
";
$validate="";
if(isset($_POST["validate"])){
$validate=$_POST["validate"];
echo "您刚才输入的是:".$_POST["validate"]."
状态:";
if($validate!=$_SESSION["authnum_session"]){
//判断session值与用户输入的验证码是否一致;
echo "输入有误";
}else{
echo "通过验证";
}
}
/*
//打印全部session;
PrintArr($_SESSION);
function PrintArr($aArray){
echo '';
print_r($aArray);
echo '';
}
*/
?>
近期评论