1. instead of typing: $conn=ocilogon("usrname","passwrd","db");
can i save this info in a file and have my php script either include or call
it when it needs to make a db connection? what would that look like? i may
want to point my app to a test db at some point & it would be nice to only
change it in one place.

2. i see an example where a form in a login.html submits to "authcheck.php"
but authcheck.php just prints ('User not found in LDAP' or 'error occured'
or 'success'). how can authcheck.php redirect the user to... say.. BACK to
the login.html and tell it "yes or no" and then have login.html either
direct the user to a different data entry page (if the login was good), or
display "sorry, try again" - all from the 1 form's "submit"

thanx in advance, 
mike.
-- 
View this message in context: 
http://www.nabble.com/storing---processing-login-info-%28newbie-stuff-not-in-tutorials%29-tp16048165p16048165.html
Sent from the PHP - General mailing list archive at Nabble.com.


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

Reply via email to