I am trying to understand how functions.php works..
i don't understand well, function is-administrator() .
When we login,at login.php , we always have to give same email and password that's written in the script to login,otherwise it fails to login. so is that the admin? if so, why check every time?
and cookies are bit confusing! are they just random values.. they are linked only to admin?
if other than admin logs in, how is it going to work with login.php page? guess it wont lets in,right?
and mysqli_connect.php file, I can save it outside xampp/htdoc,,?
like just at any other folder at C:\test\mysqli_connect.php ?