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

login script with jquery and php

Loading...

Sign in or sign up now!
20,289
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 5, 2009

This video shows you how to make a login script work with a database. We use javascript, jquery, php and mysql for this. You should really watch the ajax videos to get a basis for this. Also you need to have a server to run this, watch the first video on development environment to learn how to do that.

Towards the end i mistyped two things. I missed the double == sign in the if statement and the I spelled result wrong.

Sorry If i went a little fast, I really don't want to have any more part1 and 2 videos.

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (optikalefxx)

  • awesome video but i have one question , can you connect to mysql database without using that login.php ? if it is possible could you make a video showing how

    thanks

  • @officalmask7 you mean using the same php file?

  • I created password field in database, and typing password in text box it stores in the database but its shows the password which not in the encrypted format, wat i can do

    when creating password field in the database itself ,wat attribute to be given

  • @sivaramakrish2007 nothing on the database side. In php when you write your SQL make sure you don't store the $_POST['password']. You need to md5($_POST['password']) and store that in the database.

    That was the main goal of this tutorial, I suggest watching another time to make sure you understand how this login process works.

  • why select username where username='' makes no sense?

  • @ordiantakeover Where does it say that, it says select username where username='$user' ?

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • Great videos

    

  • could you give us a download link to files so we don't have to make them?

  • @officalmask7 Maybe if you use the post method

    put this in the same page of the form on the bottom(php)

    if($_POST){

    login script goes here

    }

    it checks when you click on the button

  • very good this is video fantastic thaks

  • @optikalefxx xzfzsdasd asdsadsadasda

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