February 6th, 2013, 10:39 AM
Odbc connection id/pwd prompt
can someone post sample code for prompting the user for an id/password when connecting to the iSeries. I can connect if I hard code the id/password in the connection string but I would like to be able to prompt the user. If needed I can post the code that I am testing with now. It does work.
February 6th, 2013, 01:20 PM
You're prompting the user for database credentials? Why?
Regardless, make a normal login-type form and store the credentials in the session. When you try to connect to the database get the ID and password from there.
February 7th, 2013, 10:38 AM
I want the user to logon with their id/pwd to validate they have access to the iSeries. I was thinking there would be a prompt for id/pwd similar to when windows prompts for it. We are currently using an Access built forms and want to convert to PHP.
If not, I am not adverse to creating a id/pwd prompt.
Hope this makes sense.
February 7th, 2013, 01:40 PM
February 7th, 2013, 01:49 PM
Thanks. I will give that a look.