Hi,
i would like to know how can i password protect a file. In my case, i want to protect a log, i tried using a form but i don't know how to make it do nothing (just show the file contents) if the pass is correct.
p.s: i want an alternative to .htaccess
thanks
i would like to know how can i password protect a file. In my case, i want to protect a log, i tried using a form but i don't know how to make it do nothing (just show the file contents) if the pass is correct.
p.s: i want an alternative to .htaccess
thanks
Comment