Answer the question
In order to leave comments, you need to log in
How to prevent file navigation through a direct link, but only through PHP: fopen('file.ext', 'r')?
I have a users.json file and I need to be able to read it through fopen, but following a link to it should be prohibited. How can you do that?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question