Go to most recent revision | Blame | Last modification | View Log | RSS feed
<?
require_once '..\\eflore_config.php';
header('Content-type: text/xml');
if(!empty($_REQUEST['listemacroelements'])) {
$nom='..\\'.$appConfig['def_macro'].$_REQUEST['listemacroelements'];
$file = fopen($nom,'r');
$taille =fileSize($nom);
$lecture = fread($file,$taille);
fclose($file);
echo $lecture;
}
if(!empty($_REQUEST['groupesmacroelements'])) {
$nom='..\\'.$appConfig['def_groupes'].$_REQUEST['groupesmacroelements'];
$file = fopen($nom,'r');
$taille =fileSize($nom);
$lecture = fread($file,$taille);
fclose($file);
echo $lecture;
}
?>