1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<?php
@session_start();
require ("arguments.php");
/*
* Created on 21-avr.-2006
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*/
$args = new Arguments();
//Initiates the session_id.
$args->setSession(session_id());
//Initiates the sequence file and working repertory
if(isset($_POST["sequence"]) && $_POST["sequence"]!=""){
/*if(file_exists("./data/".$args->session)){
$args->session = session_regenerate_id(true);
}*/
if(!mkdir ("./data/".$args->session)){
echo "<div class=\"error\">Error with repertory !<br />Please contact the <a href=\"mailto:david@toto.be\">administrator</a> !</div>";
} |