PHP对HTTPSession会话的操作
时间:2021-07-01 10:21:17
帮助过:14人阅读
<无详细内容>
- session_register("A");
-
- $A = array("A1", "A2");
-
- $str = session_encode();
-
- $openfile = @fopen("saveme.txt","w") or die ("This operation cannot be performed.");
- @fwrite($openfile, $str);
- @fclose($openfile) or die ("This operation cannot be performed.");
- echo "Success!!";
- ?>
|