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

8 lines
145 B
PHP

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