User loggin

From: Date: Thu, 17 Apr 2003 15:24:39 +0000
Subject: User loggin
Groups: php.windows 
Request: Send a blank email to php-windows+get-19467@lists.php.net to get a copy of this message
Hi, I have a login page where users get access to my app. When an user is authenticated how can I load other page? .... login.html code here .... <? ..... ..... $sql = "select count(*) as FCOUNT from system.USERS where FUSER = '$fuser' and FPASSWORD = '$fclave' "; $stmt = OCIParse($db_conn, $sql); if (OciExecute($stmt) && OCIFetch($stmt) && OCIResult($stmt,"FCOUNT")=="1" ) { //a valid user
     //I WOULD LIKE REDIRECTING TO "MENU.PHP" HERE
} else { print "Invalid user or password"; } ?> is there another way to do this? Thanks.

« previous php.windows (#19467) next »