mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
05708be76b
commit
966971aca8
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue