Login   Register  
PHP Classes
elePHPant
Icontem

File: page1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Julien PACHET  >  MySQL Session  >  page1.php  >  Download  
File: page1.php
Role: Example script
Content type: text/plain
Description: page which store datas
Class: MySQL Session
Manage session data storing it in a MySQL table
Author: By
Last change:
Date: 2004-03-05 15:20
Size: 276 bytes
 

Contents

Class file image Download
<?php
// page1.php
require_once("class_session.inc.php");

$sess=new session();
$sess->register('favcolor','vert');
$sess->register('animal','chat');
$sess->register('time',time());

echo 
'Bienvenue à la page numéro 1<br>\n';
echo 
'<a href="b.php">page 2</a>';

?>