php代码:
<?php setrawcookie("user","jangdelong",time()+1200); // if (isset($_COOKIE)) echo "Cookie created successfully!<br />"; // echo $_COOKIE["user"]."<br />"; if (isset($_COOKIE["user"])) { echo "Welcome ".$_COOKIE["user"]."!<br />"; } else { echo "Welcome guest!"."<br />"; } ?>