<?php
error_reporting(0);
require_once ("config.php");
header('Content-Type: text/html; charset=gb2312');
$qq = $_GET['qq'];
if($qq == ''){
echo "<script> alert('不输入QQ你查什么!');parent.location.href='cxsq.php'; </script>";
}
$s = mysql_fetch_array(mysql_query("SELECT * FROM `shouquan` WHERE `qq` LIKE '$qq' LIMIT 0, 30 "));
$sj = $s['sj'];
$Date_1 = date("Y-m-d H:i:s");
$Date_2 = $sj;
$xzsj = strtotime($Date_1);
$sqsj = strtotime($Date_2); if($sqsj > $xzsj){
$tishi='查询结果:已授权';
echo "<script> alert('$tishi');parent.location.href='cxsq.php'; </script>";
}
else{$tishi='查询结果:未授权';
echo "<script> alert('$tishi');parent.location.href='cxsq.php'; </script>";}
?>arent.location.href='cxsq.php'; </script>";}
?>
error_reporting(0);
require_once ("config.php");
header('Content-Type: text/html; charset=gb2312');
$qq = $_GET['qq'];
if($qq == ''){
echo "<script> alert('不输入QQ你查什么!');parent.location.href='cxsq.php'; </script>";
}
$s = mysql_fetch_array(mysql_query("SELECT * FROM `shouquan` WHERE `qq` LIKE '$qq' LIMIT 0, 30 "));
$sj = $s['sj'];
$Date_1 = date("Y-m-d H:i:s");
$Date_2 = $sj;
$xzsj = strtotime($Date_1);
$sqsj = strtotime($Date_2); if($sqsj > $xzsj){
$tishi='查询结果:已授权';
echo "<script> alert('$tishi');parent.location.href='cxsq.php'; </script>";
}
else{$tishi='查询结果:未授权';
echo "<script> alert('$tishi');parent.location.href='cxsq.php'; </script>";}
?>arent.location.href='cxsq.php'; </script>";}
?>
解决方案 »
- PHP无法正确载入Mysql库,求助各位高手!!!
- 新手如何帮人做网站小说更新 可进管理平台
- 怎么把一个php类文件里面的代码全部读出来?
- mysql_fetch_array() 循环完后,是不是有个什么指针类似的指导最后一行了
- phpmyadmin的问题,mbstring
- 救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!救命啊!
- 有关session不起作用的问题。
- 熟悉php的朋友帮我看下怎么插不进数据
- 求一个进度条。
- 怎样才能发200分,300分的帖子
- 选课系统,PHP模拟POST后,返回值与正常抓包所得的返回值一致,但是在已选课中却并没有这门课?
- PHP判断游客会员石头超出每天发帖限制,如果修改成不限制注册会员?
<?php
header("refresh:30;url=enter.php");
print('正在处理,请稍等...<br>30秒后自动跳转。');
exit();?>
error_reporting(0);
require_once ("config.php");
header('Content-Type: text/html; charset=gb2312');
$qq = $_GET['qq'];
if($qq == ''){
echo "<script>parent.location.href='cxsq.php?msg=不输入QQ你查什么!'; </script>";
}
$s = mysql_fetch_array(mysql_query("SELECT * FROM `shouquan` WHERE `qq` LIKE '$qq' LIMIT 0, 30 "));
$sj = $s['sj'];
$Date_1 = date("Y-m-d H:i:s");
$Date_2 = $sj;
$xzsj = strtotime($Date_1);
$sqsj = strtotime($Date_2);
if($sqsj > $xzsj){
$tishi='查询结果:已授权';
echo "<script>parent.location.href='cxsq.php?msg=".$tishi."'; </script>";
}
else{
$tishi='查询结果:未授权';
echo "<script>parent.location.href='cxsq.php?msg=".$tishi."'; </script>";
}
?><script>parent.location.href='cxsq.php'; </script>";
}
?>