"konsu" <ko***@hotmail.com> wrote in message
news:Wp********************@kallback.com...
Hello, are you connecting to the database from your PHP script and issue
queries to check user credentials? if so, why does it matter whether the
database is remote or not? please clarify. Or by "remote database" you
mean a different web application? then how does your application
communicates with the other one?
Sorry if I am not clear. When I say remote db it is one that I have no
access to other than as a user via the login form on a web page.
That db has a script that issues its own error message. I have no control
over that script and I don't even know what language it is written in. I
know it doesn't make much logical sense, but the cutomer wants their own
text echoed back to the login screen if a user screws up. My suggestion may
not be the most elegant solution. But I thought I could hide the original
login form, create my own which would go to another db that I do have access
to in order to generate error messages of the type acceptable. But then my
question is how does the PHP handling page pass the correct login id and pw
to the primary db (the one I have no control over). I guess it boils down to
how do I get the PHP script to pass values into fields on a login form I
have no control over? It seem to me that I should be able to grab the code
(which accepts the input on the orginial form) and put that in a PHP script
which would log into the original db. Does this make sense and it is likely
to work? I am probably missing something obvious to those that know their
stuff. I only wish I did. Thanks.
Hope this claifies.