[thelist] Login form PHP

Mark Joslyn mark.joslyn at solimarsystems.com
Thu Aug 1 11:58:00 CDT 2002


I have 4 separate partner sections on my website. I want to use one(1) login
form and script to authenticate users (Username and password). Currently,
all usernames are email addresses. Depending on what company they are from,
I want them to de redirected to their specific partner section (i.e.
username=joe.tester at abc.com - would take them to the ABC partner section.)

Current configuration:

Login Form
  User fills out Username in a form (email address)
  User fills out password in the same form

Access Control:
  Script runs through mySQL database to verify username and password
  Script analyzes Username to determine which partner the user is from (i.e.
username=joe.tester at abc.com - partner would be ABC Company)

Problem
  After the username and password are verified, how do I dynamically go to
the correct partner page? fopen() does not seem to be working.

Any help would be appreciated.

Thanks,

markJ




More information about the thelist mailing list