I am tying to make a page only accessible for certain users through a cookie.
I tried some script, but it doesn’t worked for me, because people could still see the scripts I am using on source code. I need to hide it completely and show the page only to people with the cookie.
So I need other alternative, maybe a auto-login through PHP before landing to my page?
I am using funnels, so I can validate him to the page through a php that set a cookie.
Do you think I can adapt it to .htaccess? It would be good, because its faster.
I think unless @luckskywalker wants to use htpasswd - which IMHO would only be a realistic solution if there are a very limited number of users - a PHP SESSION approach would be better.