Added a file viewer.
This commit is contained in:
parent
e4caf2c340
commit
bba6a35228
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
header('content-type: text/plain; charset=utf-8');
|
||||
$fn = $_GET['src'];
|
||||
$f = fopen($fn, 'r');
|
||||
echo fread($f, filesize($fn));
|
||||
fclose($f);
|
||||
?>
|
Loading…
Reference in New Issue