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;
?>
d>1-3/+0 2012-02-20Prune archive after 3 monthsJonathan McCrohan3-0/+7 2012-02-20Update documentationJonathan McCrohan1-3/+5 2012-02-20Add PHP to make installJonathan McCrohan1-0/+3 2012-02-20Update MakefileJonathan McCrohan1-0/+17 2012-02-20Move interval.txt to src/Jonathan McCrohan2-1/+1 2012-02-19Remove debug/testing files.Jonathan McCrohan50-4742/+0 2012-02-15Archive files after upload.Jonathan McCrohan1-0/+2 2012-02-12Fix typo in README.Jonathan McCrohan1-1/+1 2012-02-12Add ftp upload function + add documentation.Jonathan McCrohan5-3/+151 2012-01-10Handle 32bit signed overflow.Jonathan McCrohan1-1/+6 2012-01-10Update README.Jonathan McCrohan1-1/+3