HOW TO GO TO WEB PAGE AFTER AUTHENTICATION?

From: Date: Sat, 24 Jun 2000 16:08:23 +0000
Subject: HOW TO GO TO WEB PAGE AFTER AUTHENTICATION?
Groups: php.db 
Request: Send a blank email to php-db+get-604@lists.php.net to get a copy of this message
After I Authenticate a user using PHP/MYSQL, how do I make my IF/THEN statement point to another page if the AUTHENTICATION is successful? This is my if/then statement: if ($num != "0") { $fp = fopen("/test.html"); exit; } else { header('WWW-Authenticate: Basic realm="Archibald Brothers"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; I have been trying fopen, but it does not seen to work. Thank you, Shawn

« previous php.db (#604) next »