Changeset 49 for trunk/examples/example_spl_array.php
- Timestamp:
- 09/05/06 23:00:01 (2 years ago)
- Files:
-
- trunk/examples/example_spl_array.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/example_spl_array.php
r46 r49 9 9 * 10 10 * @author gERD Schaufelberger <gerd@php-tools.net> 11 * @copyright 2004 http://www.php-tools.net11 * @copyright 2004-2006 http://www.php-tools.net 12 12 * @license LGPL 13 13 **/ … … 26 26 27 27 // see wheter the started session is new 28 if( $sess-> isNew()) {28 if( $sess->new ) { 29 29 echo '<b>Hurray!</b> A new session was born! :-)<br />'; 30 30 } … … 51 51 // get query string 52 52 echo '<br />'; 53 $queryString = $sess-> getQueryString();53 $queryString = $sess->SID; 54 54 echo '- <a href="' . $_SERVER['PHP_SELF'] . '?' . $queryString . '" title="'. $_SERVER['PHP_SELF'] . '?' . $queryString .'">Continue this session</a> <br />'; 55 55 echo '- <a href="' . $_SERVER['PHP_SELF'] . '" title="'. $_SERVER['PHP_SELF'] . '">Start over</a> (make sure, that you don\'t send cookies!) <br />';
