[PHP] storing / processing login info (newbie stuff not in tutorials)

2008-03-14 Thread good_times
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

Re: [PHP] storing / processing login info (newbie stuff not in tutorials)

2008-03-14 Thread tedd
At 8:01 AM -0700 3/14/08, good_times wrote: 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

Re: [PHP] storing / processing login info (newbie stuff not in tutorials)

2008-03-14 Thread Philip Thompson
On Mar 14, 2008, at 10:15 AM, tedd wrote: At 8:01 AM -0700 3/14/08, good_times wrote: 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?

Re: [PHP] storing / processing login info (newbie stuff not in tutorials)

2008-03-14 Thread tedd
At 11:38 AM -0500 3/14/08, Philip Thompson wrote: On Mar 14, 2008, at 10:15 AM, tedd wrote: At 8:01 AM -0700 3/14/08, good_times wrote: 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