Code has been added to clipboard!

Options for Reading PHP Files

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