I'm making a website for someone I know. The front end is coming along, but he wants a login page where you type a user name and password, and, depending on the user name, it takes you to a different html page. Problem is, I hardly know anything beyond front-end design. I could do it in javascript, but that's not exactly the most secure way. Is there a simple way to do this with PHP, CGI or whatever it is I need to use?
http://www.gloryironworks.com
The Client Access page is the front end for this.
Simple PHP/CGI/whatever
-
- DBB Ace
- Posts: 435
- Joined: Mon Apr 24, 2000 2:01 am
- Location: Texas
- Contact:
- Sergeant Thorne
- DBB Material Defender
- Posts: 4641
- Joined: Sun Nov 25, 2001 3:01 am
- Location: Indiana, U.S.A.
-
- DBB Ace
- Posts: 435
- Joined: Mon Apr 24, 2000 2:01 am
- Location: Texas
- Contact:
No, the pages themselves would not (need to) be stored in the database.
What would need to be done is to store the users and their contract information in the database, and then have the PHP page verify a user's login and, if valid, display the list of contracts. It could easily be a 3 or 4 week job, minimum.
What would need to be done is to store the users and their contract information in the database, and then have the PHP page verify a user's login and, if valid, display the list of contracts. It could easily be a 3 or 4 week job, minimum.
- Instig8
- DBB Ace
- Posts: 347
- Joined: Wed Jun 20, 2001 2:01 am
- Location: Orange County, CA, USA
- Contact:
Depends on your requirements. It could take anywhere from one hour to several weeks.
Do you need sessions?
Will the user ever need to access more than one page?
Do you need a full user admin where the user can update their info/password?
Do you need a 'send me my password' page should a user forget theirs?
Do you need an admin area for the boss to add/view/modify/delete users?
Assuming none of the above, you could probably farm it out to some poor programmer in Pakistan. 20 bucks won't kill ya.
Also, you gotta have a fairly complete use case before you can even get close to an accurate quote for time or money.
Good luck!
Do you need sessions?
Will the user ever need to access more than one page?
Do you need a full user admin where the user can update their info/password?
Do you need a 'send me my password' page should a user forget theirs?
Do you need an admin area for the boss to add/view/modify/delete users?
Assuming none of the above, you could probably farm it out to some poor programmer in Pakistan. 20 bucks won't kill ya.
Also, you gotta have a fairly complete use case before you can even get close to an accurate quote for time or money.
Good luck!
-
- DBB Ace
- Posts: 435
- Joined: Mon Apr 24, 2000 2:01 am
- Location: Texas
- Contact:
lol @ the programmer in pakistan
Anyway, really I don't need any of the stuff you said, although a moderately easy way to modify user accounds and such would be nice.
But I think I'll probabaly go with javascript. It isn't exactly top secret information I'm dealing with.
Anyway, thanks for the input!
Anyway, really I don't need any of the stuff you said, although a moderately easy way to modify user accounds and such would be nice.
But I think I'll probabaly go with javascript. It isn't exactly top secret information I'm dealing with.
Anyway, thanks for the input!