Hi guys,
I hope this is not a hard question.
I have a text file which contains various information which I want to be able to access from a php script but keep people from being able to browse directly to the text file (and thus see it’s contents).
I have used CHMOD to set the PUBLIC group access to xx0 but this causes the php script to also fail. The php script is run after the visitor enters some information into a input field and presses a button.
I am using sessions, so is it possible to temporarily access the file while the php script is running and turn it off on completion? (Bearing in mind that multiple users might be online at the same time.)
Cheers,
Nap