Line 12: $fromEmail = $HTTP_SERVER_VARS["SERVER_ADMIN"];
Line 16: if (($PHP_AUTH_USER!=$shellUser)||($PHP_AUTH_PW!=$shellPswd)) {
Line 17: Header('WWW-Authenticate: Basic realm="MCE Web ADMIN only!"');
Line 18: Header('HTTP/1.0 401 Unauthorized');
Thanks.
Hi guys. I'm new to this board and don't know anything about PHP. So I apologize if my questions are too basic for this board.
I am just trying to password protect a webpage. I downloaded a script from: http://partners.mce.be/p_protect/protect.php
I followed the instruction, however I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.