标签:style blog http color sp div 2014 log bs
PHP关于COOKIE的应用
<?php if (!isset($_COOKIE["visittime"])) { setcookie("visittime", date("y-m-d H:i:s")); echo "welcome to visit this website first time."; echo "<br>"; } else { setcookie("visittime", date("y-m-d H:i:s"), time() + 60); echo "you visit our site‘s last time is : " .$_COOKIE["visittime"]; echo "<br>"; } echo " you visite site this time is : ".date("y-m-d H:i:s"); ?>
标签:style blog http color sp div 2014 log bs
原文地址:http://www.cnblogs.com/aguncn/p/4059502.html