30 lines
437 B
PHP
30 lines
437 B
PHP
|
<?php
|
||
|
|
||
|
require_once('_head.php');
|
||
|
|
||
|
mkheader('files!', '#aaa');
|
||
|
|
||
|
?>
|
||
|
<body>
|
||
|
|
||
|
<!-- ======================================================= -->
|
||
|
<pre><?php
|
||
|
|
||
|
// do nothing!
|
||
|
$handle = fopen('data.txt', 'r');
|
||
|
fclose($handle);
|
||
|
|
||
|
?></pre>
|
||
|
|
||
|
|
||
|
<!-- ======================================================= -->
|
||
|
<pre><?php
|
||
|
|
||
|
// get everything!
|
||
|
echo file_get_contents('data.txt');
|
||
|
|
||
|
?></pre>
|
||
|
|
||
|
</body>
|
||
|
</html>
|