metanohi-misc-subsites/subsites/projects/view.php

8 lines
145 B
PHP
Raw Normal View History

2012-01-13 22:24:39 +01:00
<?php
header('content-type: text/plain; charset=utf-8');
$fn = $_GET['src'];
$f = fopen($fn, 'r');
echo fread($f, filesize($fn));
fclose($f);
?>