PHP Logon Script Help....

From: Date: Sun, 07 Apr 2002 05:41:33 +0000
Subject: PHP Logon Script Help....
Groups: php.db 
Request: Send a blank email to php-db+get-18282@lists.php.net to get a copy of this message
I am trying to write a simple login script, and I am new to PHP. Here is what I have so far: <?php $stmt = $HTTP_POST_VARS['ssn']; $oerr = OCIError(); $dbconn = OCILogon("user", "pass", "database"); $search = ociparse($dbconn, "select GURMAIL_PIDM from GENERAL_GURMAIL where GURMAIL_PIDM = $stmt"); ociexecute($search); ?> Basically I have an HTML form that links to this page where a user enters their social security number and this script compares it to a database. If its there, redirect to a new page, if not present an error message. Can anyone help? Pusta

« previous php.db (#18282) next »