Added a file viewer.
This commit is contained in:
1 parent
e4caf2c340
commit
bba6a35228
1 file changed
+7
@@ -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);
|
||||
?>
|
||||
Reference in new issue
Block a user