diff --git a/html/export.php b/html/export.php
index 4c4443cca..6393d3161 100644
--- a/html/export.php
+++ b/html/export.php
@@ -53,6 +53,25 @@ if ( $action=='X' || $g_user->check_print($action)==0 )
// get file and execute it
$prfile=$cn->get_value("select me_file from menu_ref where me_code=$1",array($action));
+
+if ( LOGINPUT)
+{
+ $file_loginput=fopen($_ENV['TMP'].'/export-'.$prfile.'-'.$_SERVER['REQUEST_TIME'].'.php','a+');
+ fwrite ($file_loginput,"search($http->request("plugin_code")) != -1 )
{
exit();
}
+ if ( LOGINPUT)
+ {
+ $file_loginput=fopen($_ENV['TMP'].'/plugin-export-'.$ext->me_code.'-'.$_SERVER['REQUEST_TIME'].'.php','a+');
+ fwrite ($file_loginput,"me_code."\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");
+ fclose($file_loginput);
+ }
/* call the ajax script */
require_once(NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'raw.php');
}