aboutsummaryrefslogtreecommitdiffstats
path: root/php/readfile.php
blob: 12c72daf52a8b84b398f2816546f23552f1ebf8a (plain)
1
2
3
4
5
6
7
8
9
<?php
$filename =$_GET['filename'];

$filename = '/var/modbuslog/'.$filename;

$filecontents = file_get_contents($filename, FILE_USE_INCLUDE_PATH);

echo $filecontents;
?>