skolhustick Posted March 26, 2014 Share Posted March 26, 2014 I need to code a site that has a login script using PHP. I took a look at a lot of tutorials and managed to code the verification scripts. However, after username and password verification, it takes the user to ONE page. The problem is, my website has a specific page for each user. **For example, if USER-A logs in, he goes to PAGE-A, USER-B logs in, goes to PAGE-B etc.** I don't want to put the username and password on the script itself, as it should be in a database (figured out how to create and link one too). **Is there a way, after verifying the username and password, it also knows WHICH page it should show based on a table from a database?** I wanted to use a social network style, but the pages are different from one user to another. I am very new to PHP, and thanks for helping a newbie. Tutorials link: http://www.phpeasystep.com/phptu/6.html Quote Link to comment Share on other sites More sharing options...
trq Posted March 26, 2014 Share Posted March 26, 2014 This thread I replied to in 2006 should help. http://forums.phpfreaks.com/topic/22932-now-that-i-know-what-to-ask-here-goes/?hl=%2Bprofile&do=findComment&comment=103630 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.