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

PHP Tutorials: 'Remember me' style Login System using Cookies and Sessions (Part 1)

Loading...

Sign in or sign up now!
19,996
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 8, 2009

Visit the forum for help!
http://phpacademy.info/forum

Follow on Twitter!
http://twitter.com/phpacademy

Create a cookie/session based login system with a 'remember me' checkbox to keep your user logged in for next time they visit.

  • likes, 5 dislikes

Link to this comment:

Share to:

Top Comments

  • The king of tutorials ever!!!!! OMG i love your videos.PHPacademy best4ever

  • I love cookies too!

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • hey i have 1 problem. everything is okay, code is running successfully but i am getting this warning "Notice: Undefined index: login in C:\xampp\htdocs\myproject\logi­n.php on line 15" where on 15th line is "if($_POST['login'])" ......pls help

  • 0:22 when you said "which is md4 encrypted so we are using a little bit of security" i had to laugh!

    md5 is not secure AT ALL, NEVER use md5!

    use crypt(sha1(something), sha1(md5(something)))

    or something similar.

  • Thanks for the tutorial!

    But MD5 is cracked :(

  • Thanks author 's video. I ready need it and it help me a lot of. ^^

  • Come To The Dark Side!!! WE HAVE COOKIES! :D

  • Is the code available for download anywhere?

  • thankyou so much the tutorial is wonderful and extremely helpful, thankyou so much

  • Hey got a doubt - If we trim($password," ' \ ") then can SQL injection b completely removed ??

  • You are the best PHP online lecturer I've ever seen

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