parent
e8b5d52db7
commit
0b4ecc56a7
6 changed files with 179 additions and 74 deletions
|
|
@ -34,7 +34,8 @@
|
|||
* dl : display form to modify, add and delete lettering for a given operation
|
||||
*
|
||||
*/
|
||||
define ('ALLOWED',1);
|
||||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once ('class_fiche.php');
|
||||
|
|
@ -69,6 +70,24 @@ if ($gDossier<>0) {
|
|||
}
|
||||
$html = var_export($_REQUEST, true);
|
||||
|
||||
if ( LOGINPUT)
|
||||
{
|
||||
$file_loginput=fopen($_ENV['TMP'].'/scenario-'.$_SERVER['REQUEST_TIME'].'.php','a+');
|
||||
fwrite ($file_loginput,"<?php \n");
|
||||
fwrite ($file_loginput,'//@description:'.$op."\n");
|
||||
fwrite($file_loginput, '$_GET='.var_export($_GET,true));
|
||||
fwrite($file_loginput,";\n");
|
||||
fwrite($file_loginput, '$_POST='.var_export($_POST,true));
|
||||
fwrite($file_loginput,";\n");
|
||||
fwrite($file_loginput, '$_POST[\'gDossier\']=$gDossierLogInput;');
|
||||
fwrite($file_loginput,"\n");
|
||||
fwrite($file_loginput, '$_GET[\'gDossier\']=$gDossierLogInput;');
|
||||
fwrite($file_loginput,"\n");
|
||||
fwrite($file_loginput,' $_REQUEST=array_merge($_GET,$_POST);');
|
||||
fwrite($file_loginput,"\n");
|
||||
fwrite($file_loginput,"include '".basename(__FILE__)."';\n");
|
||||
fclose($file_loginput);
|
||||
}
|
||||
switch ($op)
|
||||
{
|
||||
case "remove_anc":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue