Login   Register  
PHP Classes
elePHPant
Icontem

File: pagetop.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2005-07-31 10:30
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...
?>