<?php
//setcookie("aa","123"); if(@$_GET['tj']=="提交"){ setcookie("user",$_GET['user']); setcookie("pwd",$_GET['pwd']);
echo "<script>location.href=\"cookie.php\"</script>";//自动加载本页面一次 } echo "<br>用户名".$_COOKIE["user"]; echo "<br>密码".$_COOKIE["pwd"]; ?> <fo...