content = file_get_contents("C:/system.stmp");
list($authorized,$times)=explode("/",$content);
// echo $authorized;
//echo $times;
if($authorized=="8a0e6cbd1d6c7deeac875a6774bddb11"){
// echo "ÄãºÃ";
// $nowdate=mktime(date("H"),date("i"),date("s"),date("m"),date("d"),date("Y"));
$nowdate=date("Y-m-d");
if(strtotime("$times+30 day") >= $nowdate)
{
//header('Location: error.php');
echo "ÊÔÓÃÆÚÒѹý£¡";
echo $nowdate.$times;
} else
{
echo "ÊÔÓÃÆÚû¹ý£¡";
echo $nowdate.$times;
//header('Location: index.php');
}
}
system.stmp ÀïÃæµÄ¶«Î÷ÊÇ£º8a0e6cbd1d6c7deeac875a6774bddb11/2010-03-28
ÉÏÃæÄǸöÅжϲ»¶Ô°¡ Èç¹ûʱ¼äÏàµÈµÄ»° »¹ÊÇ»áÏÔʾ "ÊÔÓÃÆÚÒѹý
¶¥ÏÂÀ²
¶¥ÏÂÀ²
Ó¦¸ÃÓà ʱ¼ä´ÁÀ´½â¾öÕâ¸ö ÎÊÌâ
strtotime("$times+30 day") ·µ»ØµÄÊÇtimestamp
$nowdate=date("Y-m-d"); ÊÇ¡°2010-01-01¡±ÕâÖÖÐÎʽ
ÄãÖ±½Ó±È½ÏÕâ2¸ö´óС¡£¡£¡£
list($authorized,$times)=explode("/", trim($content));
1¡¢ÊDz»ÊÇPHPÖÐÖ»ÄÜʹÓÃmysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);¸üÐÂÊý¾Ý£¿£¿£¿
2¡¢PHP¸üÐÂmysql_fetch_row($res)Óëmysql_fetch_array($res)ÖеÄÊý¾ ......