Changeset 46 for trunk/examples/example_basic_first.php
- Timestamp:
- 03/15/06 23:15:57 (3 years ago)
- Files:
-
- trunk/examples/example_basic_first.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/example_basic_first.php
r16 r46 12 12 * @license LGPL 13 13 **/ 14 error_reporting( E_ALL ); 14 // load error handler 15 include_once './_error.php'; 15 16 16 // include error-manager17 include_once '../../patError/patErrorManager.php';18 //patErrorManager::setErrorHandling( E_ERROR, 'verbose' );19 20 17 // include factory/loader 21 18 include_once '../patSession.php'; … … 38 35 // get query string 39 36 echo '<br/>Recieve session-query-string, this can be used like the PHP-constant "SID"<br />'; 40 $queryString = $sess-> getQueryString();37 $queryString = $sess->SID; 41 38 echo 'Query-string <i>' . $queryString . '</i> from this session.<br />'; 42 39 echo 'This <a href="' . $_SERVER['PHP_SELF'] . '?' . $queryString . '" title="'. $_SERVER['PHP_SELF'] . '?' . $queryString .'">URL</a> contains the query-string<br />';
