Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/session.examples.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.session.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'session.examples.php',
1 => 'Examples',
),
'up' =>
array (
0 => 'book.session.php',
1 => 'Session Handling',
),
'prev' =>
array (
0 => 'session.constants.php',
1 => 'Predefined Constants',
),
'next' =>
array (
0 => 'session.examples.basic.php',
1 => 'Registering a variable with $_SESSION.',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>Examples</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_appendix"><li><a href="session.examples.basic.php">Registering a variable with $_SESSION.</a></li><li><a href="session.idpassing.php">Passing the Session ID</a></li><li><a href="session.customhandler.php">Custom Session Handlers</a></li></ul>
</div>
<?php manual_footer(); ?>