File "visualise.php"
Full Path: /home/analogde/www/download/CHESS_2022/visualise.php
File size: 789 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
echo "Voir le fichier : " .$_GET['filename'];
$filename = $_GET['filename'];
chdir("backup");
$f = fopen($filename, 'r');
if ($f)
{
$contents = fread($f, filesize($filename));
fclose($f);
//echo nl2br($contents);
}
echo "<br><br>";
echo '<textarea id="html_content" style="width:600;height:200;resize:none" readonly >' .$contents .'</textarea>';
echo "<br><br>";
$page_retour = $_SERVER['HTTP_REFERER'];
/*echo '<a href='<?php echo $_SERVER['HTTP_REFERER']; ?>">Retour</a>";
*/
//echo '<a href="admin.php">retour ...</a>
//<br>
//<br>';
echo "<br><br>";
echo "<br><br>";
echo "<br><br>";
echo "<br><br>";
echo '<a href="' .$_SERVER['HTTP_REFERER'] .'">retour ...</a>
<br>
<br>';
?>