Password or Login Redirect?
Moderator: General Moderators
Password or Login Redirect?
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?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.
Available For Hire?
I am not a programmer, just a graphics guy...so how much would you charge to write this code for me?
Thanks,
Kirk
Thanks,
Kirk
Issue resolved?
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
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