当前位置:Gxlcms > PHP教程 > PHP对HTTPSession会话的操作

PHP对HTTPSession会话的操作

时间:2021-07-01 10:21:17 帮助过:14人阅读

<无详细内容>
  1. session_register("A");
  2. $A = array("A1", "A2");
  3. $str = session_encode();
  4. $openfile = @fopen("saveme.txt","w") or die ("This operation cannot be performed.");
  5. @fwrite($openfile, $str);
  6. @fclose($openfile) or die ("This operation cannot be performed.");
  7. echo "Success!!";
  8. ?>

人气教程排行