/    Sign up×
Community /Pin to ProfileBookmark

Client Login form

Hey I have a client login form on mysite, and I was wondering what would be the best way to do this. I have the form and everything but Im not sure how to make it so it goes to a certain page depending on what the username is. And Im not sure on how to list out the username and passwords.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@william232Jun 22.2006 — you can try storing the user names and password in the database which is a good way to do it then you can make it easy for them to login into their client area.
Copy linkTweet thisAlerts:
@GreyFilmProauthorJun 22.2006 — what database?
Copy linkTweet thisAlerts:
@william232Jun 22.2006 — create one like greyfilmprodb or somthing

Heres a table users i have created

<code>

CREATE TABLE users (

ID INT( 255 ) UNSIGNED NULL AUTO_INCREMENT PRIMARY KEY ,

username VARCHAR( 255 ) NOT NULL ,

password VARCHAR( 255 ) NOT NULL

) TYPE = MYISAM ;</code>
×

Success!

Help @GreyFilmPro spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...