I am making an authorizatoin script for the control panel of a loggin
system I have been writing. Here is what I have right now:
?php
require_once('config.inc.php');
$authorized = 0;
$getUser = $_SERVER['PHP_AUTH_USER'];
$getPass = $_SERVER['PHP_AUTH_PW'];
if (($getUser == $user) ($getPass ==
The problem is that if a user clicks cancel the control panel loads
instead of the program dying. Why and how do I stop it?
Please provide more info -- like what do you mean by if the user clicks
cancel.
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am making an authorizatoin script for the control panel of a loggin
system I have been writing. Here is what I have right now:
Well, if you copied and paste'd this, then I'm surprised that you don't get
a syntax error
if (!$authorized) {
header('Cache-Control: no-store, no-cache,
3 matches
Mail list logo