- 论坛徽章:
- 0
|
session并没有记录,结果有错误警告,不知道为何?
===============源代码==============
<?php ob_start();?>;
<?php session_start();?>;
<html>;
<head>;
<title>;</title>;
</head>;
<body>;
<?php
if(!session_is_registered("visit")){
session_register("visit");
$_SESSION["visit"]=1;
}else{
$_SESSION["visit"]++;
}
echo $_SESSION["visit"]."<br>;";
ob_end_flush();
?>;
</body>;
</html>;
===============显示如下==============
1
Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 |
|