good call on defining the database - caught that after I posted this.. but thanks!!
as for the redirect being pulled from a form, that is not what I was looking for.. .basically, if the user and password match, I want it to redirect them to a specifc directory - the name of which is already stored in the database.
Example
username | password | redirect |
-----------|---------------|-------------|...
User Profile
Collapse
-
Thanks for that... at least now I don't have an error message. for some reason I am getting redirected to www.mysite.com//index.html (notice the 2 /'s) which makes be believe that the "." are the right way to go, but the function to call up the info from the database isn't working, etc.
any other thoughts?
-mLeave a comment:
-
PHP user auth help...
greetings -
I am very much new the PHP world and have what I believe to be a simple question..
I am using one of the Dreamweaver User Auth scripts with a mySQL database. I have the verification process down, but I would like to redirect each user to a different directory/page.
In the mySQL I have the data for where I would like to redirect each user, but I can't get it to translate properly....
No activity results to display
Show More
Leave a comment: