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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to