龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > php编程 >

PHP 对 HTTP Session 会话的操作

时间:2014-07-22 14:52来源: 作者: 点击:
分享到:
<无详细内容>
<?php
  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!!";
?>
精彩图集

赞助商链接