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

How to create secure PHP script login form page using session tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
16,483
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 28, 2009

In this post I will show how to create secure log in system to your website.
I will use the SERVER session variable in PHP to find out if the user is still logged in.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 10 dislikes

Link to this comment:

Share to:

Top Comments

  • This works good but lets say that someone wrote this in the url on login.php: ?pas=0%3B+DELETE+FROM+XXX this means that it will run a SQL query that deletes all users and passwords! And that's not a verry secure... Everyone that is making page with login should keep this in mind. Cheers!

  • can u please, please do everything step by step

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • no, i'm a pirate... archhhhh !!!!!

  • cacalica

  • r u a persian??

  • completely insecure!! I just wasted 9 minutes of my life! for people who will watch this video: ALWAYS use $mysqli->real_escape_string($_­POST['var']); to avoid sql injections. Or don't watch this video.

  • thanks that helped!

  • Check this

    sudarshansoft com

Loading...

Alert icon
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