Redirect to URL after LOGIN
Posted: Mon Jan 19, 2004 3:36 pm
Hi
I would like to make something i have no idea of. Since my Host has a Mysql Database and PHP installed i have to do it with PHP & SQL.
I have one PASSWORD Field - if the user enters i.e. CAR than he is redirected to http://www.mywebsite.com/car.htm and if he enters SOUND he is redirected to http://www.mywebsite.com/car_1.htm, ...
I would like to have PASSWORDs and URLs stored in mySql Database and whenever user starts the first file (ie. index.php) it should connect to the database and wait for him to type in the PASS - then it should redirect to the URL that is stored in the database and connected to the Password.
Is this possible? Any hint would be great help.
Thanks
I would like to make something i have no idea of. Since my Host has a Mysql Database and PHP installed i have to do it with PHP & SQL.
I have one PASSWORD Field - if the user enters i.e. CAR than he is redirected to http://www.mywebsite.com/car.htm and if he enters SOUND he is redirected to http://www.mywebsite.com/car_1.htm, ...
I would like to have PASSWORDs and URLs stored in mySql Database and whenever user starts the first file (ie. index.php) it should connect to the database and wait for him to type in the PASS - then it should redirect to the URL that is stored in the database and connected to the Password.
Is this possible? Any hint would be great help.
Thanks