PHP/Cookie Session/Session Encode — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Текущая версия на 07:01, 26 мая 2010

Encoding Data

<?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!!";
?>