I am trying to open text file through PHP. The below code is working fine when I have text file inside the Project folder
<?php $myfile = fopen("Updates/updates.txt", "r") or die("Unable to open file!"); echo fread($myfile,filesize("HRupdates/updates.txt")); fclose($myfile); ?>
Now I would like to open file from another drive from drive
I tried like this
D:/Updates/updates.txt it is not working. any other ways?