phpMyEvent -- authentification

Vous devez vous identifier pour pouvoir acceder cette zone

"; echo stripslashes($erreur); echo"

Mot de passe:
"; exit; } /*************/ include (ROOT_DIR_PATH."archive/log/log.inc.php"); /******* FUNCTION *************/ $error=0; require_once(ROOT_DIR_PATH."controle.php"); /*****************************/ ?> - Soumission - Paper registration

Paper registration - Soumission d'une communication
Every red fields are required

$evenement[upload_deadline]) { echo "

SUBMISSION PHASE IS OVER

"; exit; } /************************/ ?>
  Contact Author Information - Contact pour la communication
  Affiliation - Organisme >
  Contact Name - Nom
(Please add Mr or Mrs in front)
>
  Organisation - Organization
  Phone - Tlphone
(like +xx (x)xxxxxxxx)
  e-mail >
  Paper Information - Information sur la communication
  Paper title - Titre de la communication >
  Author name 1 - Auteur n1 >
  Author name 2 - Auteur n2
  Author name 3 - Auteur n3
  Author name 4 - Auteur n4
  Author name 5 - Auteur n5
  Type : $type[$i] "; } ?>
  File (only DOC / DOCX / ODT)
Fichier (uniquement DOC / DOCX / ODT)
  Abstract (Maximum 200 words)
  Keywords (separeted by | ) :
  Clic once the "validate" button and wait. This window will automatically change when the upload is completed and you will receive a confirmation email few minutes later.
 
alert('You must specify a file to upload')"; exit; } $extension=str_replace(" ","",$evenement[extension]); $pathinfo=pathinfo($_FILES['file']['name']); $name= $_FILES['file']['name']; /** $type=substr($_FILES['file']['type'],-4); if(!array_search_occur($type,explode("|",$extension))) { echo ""; exit; } */ /******************************/ /********* record data **********/ //On remplace les espaces par des _ $file_name=ereg_replace ("_", " ", $name); $id = Service::insert_article(addslashes($_POST['paper_title']),addslashes($_POST['author1']),addslashes($_POST['author2']),addslashes($_POST['author3']),addslashes($_POST['author4']),addslashes($_POST['author5']),addslashes($_POST['abstract']),addslashes($_POST['theme']),$_POST['paper_type'],$file_name,addslashes($_POST['contact_name']),addslashes($_POST['contact_organization']),addslashes($_POST['contact_phone']),addslashes($_POST['contact_mail'])); if(!is_numeric($id)) { echo "
A problem occurred in the database's update.

"; echo mysql_errno().": ".mysql_error()."
"; // On importe les informations de la session pour le log ecriture_log("ERROR on database : ".mysql_errno()); @unlink(ROOT_DIR_PATH."/variable/submission/$file_name"); } else { //$id=mysql_insert_id(); $file_name="#".$id."_".$name; /* Copy the file in the submission directory */ echo "post file ! ".$_FILES['file']['tmp_name']."/".$_FILES['file']['dir']; if(!copy($_FILES['file']['tmp_name']."/".$_FILES['file']['dir'], ROOT_DIR_PATH."/variable/submission/$file_name")) { echo "Max file size =".($evenement[file_size]*1000000); echo "enable to upload the file ".$file_name.". Please try again or contact the webmaster."; $suppr_article = Service::delete("article","id_article",$id); exit; } // On importe les informations de la session pour le log ecriture_log("Upload paper : $paper_title ($author1...)"); /** Send a mail **/ $file="validate_upload"; $mail=$_POST['contact_mail']; $name=$_POST['contact_name']; $first_name=""; include(ROOT_DIR_PATH."/common/mail/send_mail.inc.php"); /*****************/ } /********************************/ $size_ko=$file_size/1000; //echo ""; //echo ""; echo " "; } /*********************/ ?>