Zubrag.com
October 23, 2019, 03:58:59 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Log in: 2 different passwords redirect to 2 different pages  (Read 7268 times)
Petronella
Newbie
*
Posts: 1


« on: December 02, 2007, 03:05:15 PM »

The previous post almost answered my question, but not entirely.

I need a log in page that accepts two different usernames and two different passwords, and redirects to one of two pages.

Username 1 and password 1 takes you to page1.html
Username 2 and password 2 takes you to page2.html

And how to I get a message such as "Incorrect username or password" if the password/username is wrong, not simply a reloaded page?

Logged
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« Reply #1 on: December 03, 2007, 05:55:36 AM »

Looks like advanced password protector is the thing you need.

Setup two users and corresponding redirects in manager.php, and you should be all set.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC