Password or Login Redirect?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
develonet
Forum Newbie
Posts: 2
Joined: Thu Jan 06, 2005 3:03 am
Location: Michigan
Contact:

Password or Login Redirect?

Post by develonet »

I am looking for a script that will allow me to redirect a user to a certain page which is determined by what they use as a password and login. In other words, I have individual pages set up for each customer with different prices. I want a single main login page in which a customer will be login and be redirected to the appropriate page depending on what they enter for a login and password. Is there any free simply codes out there to do this?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's quite simple to write this on your own. The form they submit from will need to use the post method. The submission will get stored in the $_POST array where each element in the array is a fieldname used in the form. You can check the username and password at this point. This can be checked against a database, to allow for adding lots more customers in the future, or expanded manually through either editing the script or a flatfile; we'll leave that choice to you.
develonet
Forum Newbie
Posts: 2
Joined: Thu Jan 06, 2005 3:03 am
Location: Michigan
Contact:

Available For Hire?

Post by develonet »

I am not a programmer, just a graphics guy...so how much would you charge to write this code for me?
Thanks,
Kirk
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

check your private messages.
nk82
Forum Newbie
Posts: 1
Joined: Sat Jan 29, 2005 1:30 pm

Issue resolved?

Post by nk82 »

Was this issue every resolved?
I'm trying to do the same thing in php.
I have worked it out in asp pages but
I can't get it to work in php.
Regards
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

I believe he ended up paying feyd to do it for him.
You can either:
- Start your own topic with your current code and let us help you figure out what is wrong.
- Start a topic in Job Hunt and have someone write the code for you.
Post Reply