Tag Archives: Absolute Answer

Password-protect my whole site.

I want to password-protect the whole site. I’ve got CPanel nonetheless it won’t allow to do the / (public_html) seeing that password-protected. How do you do that: vintage: The best technique I’ve found is to use a mix of a single server-side include along with a session variable, i always tie into the unique identifier on the database. The pseudo-code would be something like this kind of: — Site determines session variable to check out if user can be logged in. — in the event user is logged with, he/she can log onto the site — if user is not logged in, he/she is redirected into a login page — if customer attempts to sign in and match is found in database, unique identifier is retrieved and composed to session variable Certainly, the exact syntax will depend on your programming dialect, but you have the idea. Uhm yes! But i’m not thinking about doing a entire PHP programming just for this. Can’t this be done which has a single. htaccess report i have got never used the. htaccess file but i assume it could, and there may be a tool above each of the forums to produce one. yep saw … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment