PHP Classes

File: pagetop.inc.php

Recommend this page to a friend!
  Classes of Wolter Kaper   Screen Stack   pagetop.inc.php   Download  
File: pagetop.inc.php
Role: Auxiliary script
Content type: text/plain
Description: top include for screens
Class: Screen Stack
Implement stacked pages navigation
Author: By
Last change:
Date: 18 years ago
Size: 357 bytes
 

Contents

Class file image Download
<?php
//top of output-producing scripts (pages)
include_once 'top.inc.php' ;
$_SESSION['sst']->doRedirect() ;
// if you want to present the errormessage after a redirect on a new page:
$code = $_SESSION['sst']->getErrorcode() ;
$errormessage = ($code) ? ('<p class="error">Errorcode was: '.$code.'</p>') : ('') ; //you can make it more friendly...
?>