<?
session_start();
$_SESSION['myname']="abc";
$_SESSION['mylove']="myself";
$_SESSION['count']++;
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>session</title>
</head>
<body>
count变量为:<? echo $_SESSION['count']; ?><br>
我的ID为:<? echo session_id(); ?><br>
</body>
</html>
http://expert.csdn.net/Expert/TopicView1.asp?id=1312288
session_start();
$_SESSION['myname']="abc";
$_SESSION['mylove']="myself";
$_SESSION['count']++;
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>session</title>
</head>
<body>
count变量为:<? echo $_SESSION['count']; ?><br>
我的ID为:<? echo session_id(); ?><br>
</body>
</html>
http://expert.csdn.net/Expert/TopicView1.asp?id=1312288
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货