tritus Posted September 15, 2007 Share Posted September 15, 2007 hey i just made a register/login script how do i make it so it takes them back to main page and check if theyre logged in? Quote Link to comment Share on other sites More sharing options...
Jessica Posted September 15, 2007 Share Posted September 15, 2007 With code. We can't tell how you specifically would do it without seeing your script. Why don't you try to follow one of the many tutorials out there for user authentication. Quote Link to comment Share on other sites More sharing options...
syntaxerror Posted September 15, 2007 Share Posted September 15, 2007 i'm usually using header() to redirect the page so my authentication form doesn't really show up, you're either redirected to the login page on a login failure, and i'd display 'incorrect id or password' or you get redirected the main page i wonder though if this is a good approach... 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.