So I've got this site- and as I was developing the admin section of the site I was too engrossed in developing the technology to think too much about security. So right now the section of the (not yet live) site has pretty much no security.
I need a relatively simple way I can restrict access to this section of the site- but I'm kind of blanking on how to do it-
what upon successful login putting a cookie on the users machine?
if (!$username == "whatever" or !$pwd == "cha") {
exit('you don't have access');
}
but will that just end the current php script? These are mixed php and html pages...
What about _Halt_Complier();?
Thanks in advance!