Hello,
I would like to be able to read a flat file with php (via fopen and fgets), but not allow viewers to access the file itself (by visiting www.website.com/flat_file).
I have not been able to get this working properly with file permissions. Is there another (efficient) way to accomplish this?
I would like to be able to read a flat file with php (via fopen and fgets), but not allow viewers to access the file itself (by visiting www.website.com/flat_file).
I have not been able to get this working properly with file permissions. Is there another (efficient) way to accomplish this?