Reading a Specific Character : File Read : File Directory PHP Source Code


PHP Source Code » File Directory » File Read »

 

Reading a Specific Character




  <?php

  $myfile = "./test.txt";
  $openfile = fopen ($myfile, "r"or die ("Couldn *** open the file");

  fseek ($openfile, 8);
  $chunk = fgetc ($openfile);
  echo $chunk;

  ?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» File Read