Nothing wrong, but I suspect on this line, $_GET[act], I dunno but
sometimes the key without quotes will be ack as a constant, tried to
quotes it, so it could be like this $_GET['act'], see below:
if($_GET[act] == "logout") {
be:
if($_GET['act'] == "logout") {
The "if" condition is goes to first condition that the user is
autheticated, some problem on nested "if".
I tried it and still nothing...
if I do
$a = new Auth("DB", $params, "loginFunction" );
echo "1";
$a->start();
echo"2";
in the middle of the script, only the first one is displayed, not the second one, so I think I have a problem before the if when calling the start() method...as the first one is displayed I would say that the auth package is installed properly and that the $a object is created successfully, but I don't know how I can check that.
This seems to be the basic example that I found in several places, and I'm a bit desperate, if I can't even have that running it's not very promising for the future...! :-)
Thank you for your help,
melanie
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/