Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Tutorials: Register & Login: User login (Part 1)

Loading...

Sign in or sign up now!
306,126
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 11, 2009

Part of the 'Register & Login' Project from PHP Academy. This tutorials walks you through how to process a username and password based login against details found in a database, set a session, and process a logout function.

  • likes, 24 dislikes

Link to this comment:

Share to:

Top Comments

  • @text2121 for making websites and stuff, like, layout of a page and adding images and all that

  • Just a couple things I wanted to point out:

    - The inputs and breaks don't have end tags.

    - You probably should use char data types instead of varchar in this case, so your table has fixed-length records. It takes marginally more space, and SIGNIFICANTLY speeds up searches.

    - You don't have a uniqueness constraint on username, which you probably want.

see all

All Comments (692)

Sign In or Sign Up now to post a comment!
  • Where do you save all your files?

  • what i would like to no is there away if someone has a registered with us,that they can delete there account,so they dont have to email me to take them off the database? just saves me from going into phpadmin and deleting the user ,if so what script would i attach for this thanks

  • @sultneulven it 80% safe

  • @bumrang there is POST and GET, POST sends information using a separate package and GET uses the URL

  • One tip: If you want MySQL to get up and going fast download easyphp. Easyphp configures the basic stuff and you'll have myphpadmin ready to go

  • is it possible to use db4free?

  • What is POST?

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more