All pastes #478434 Raw Edit

Stuff

public php v1 · immutable
·published 2007-05-09 04:37 UTC
rendered paste body
<?php// Jon Kleinhans DA180 Chapter 12 Activities, Chapter 12 Lab - 08 May 2007 -->session_start();$_SESSION['page'] = array();$_SESSION['page'][] = 'Home';$path = 'http://localhost/';echo "This is the home page<br />";echo "The pages you have visited so far are:<br /><br />";foreach ($_SESSION['page'] as $visited_page) {    echo '<a href="' . $path . $visited_page . '.php">' . $visited_page . '</a><br />';    }?><html><head><title>Working with Session Variables - Home</title>