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"; ?>