Corrected perlish file write (echo??) and a typo in text

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@53030 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2001-08-02 11:53:38 +00:00
parent 05708be76b
commit 966971aca8

View file

@ -576,7 +576,7 @@ page1.php:
$s = serialize($a);
// store $s somewhere where page2.php can find it.
$fp = fopen("store", "w");
echo $s;
fputs($fp, $s);
fclose($fp);
page2.php:
@ -612,7 +612,7 @@ page2.php:
</para>
<para>
So if the in the example above $a became part of a session by
So if in the example above $a became part of a session by
running <literal>session_register("a")</literal>, you should
include the file <literal>classa.inc</literal> on all of your
pages, not only page1.php and page2.php.