Jump to content

Sign Up and Login Page

Recommended Posts

Okay,Hi, i have a website, i need to know two things 1) I have a sign up page, its a form, i want the entered input to be stored in a database? How do i go by this? Please any info will help 2) I have a login page, what code do i use to validate the information given by the user via the database, i have seen examples of code at other websites, but i just really dont know how to go by putting everything together. especially which page to insert the codes. Someone please help meThanks Revolution

Link to post
Share on other sites

1) to handle databases, you'll need some server-side code, like ASP or PHP2) with the server-side, you can handle the login too, try something like save each login/password (if found in your database) in a 'SESSION' of 'COOKIE' variable, and verify in each page if it has any content, if not, use something like PHP's 'exit()' functionps.: if you didn't understood anything of what i said in item 2, try learning some server-side scripting at www.w3schools.com ^^ good luck

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...