Login   Register  
PHP Classes
elePHPant
Icontem

File: test1.php3

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Richard Fairthorne  >  oracle_sessions  >  test1.php3  >  Download  
File: test1.php3
Role: ???
Content type: text/plain
Description: Test File
Class: oracle_sessions
Author: By
Last change:
Date: 14 years ago
Size: 529 bytes
 

Contents

Class file image Download
<?php
//Sample file - Demonstrates the use
require ("session.php3");

//Open connection to db 
connect2db();

//Load session variables or start new session
s_start();

//Print the variables
echo "After session_start() : \n<br><ul>" ;
echo "<li>  \$name = " . $name . "\n<br></ul>";
echo "<li>  \$mail = " . $mail . "\n<br></ul>";

//Destroy session
s_destroy();

echo "After session_destroy() : \n<br><ul>" ;
echo "<li>  \$name = " . $name . "\n<br></ul>";
echo "<li>  \$mail = " . $mail . "\n<br></ul>";
?>