Code has been added to clipboard!

Opening External PHP Files

Example
<?php
  $demofile = fopen('text_file.txt', 'r') or die('File cannot be opened!');
  echo fread($demofile, filesize('text_file.txt'));
  fclose($demofile);
?>