View Single Post
Old 11-29-2006, 12:05 AM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 676
DJMaze is on a distinguished road
PHP Code:
<?php
error_reporting
(E_ALL);

if (
session_id()) {
    echo 
'session already started';
} else {
    
session_start();
    
$_SESSION['test'] = 'haha';
    echo 
'session started';
}
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote