Try to open a text file : Text File Read : File Directory PHP Source Code


PHP Source Code » File Directory » Text File Read »

 

Try to open a text file



  <?php
  $openfile ="./test.txt";
  $result = fopen ($openfile,"r"or die ("Couldn't open the file");
  echo "File opened successfully";
  ?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Text File Read