PHP Login Script with Remember me Login Details

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 64

  • @JohnDoe-dt6nt
    @JohnDoe-dt6nt 8 лет назад +49

    never ever set any user information into a cookie. its a huge security hole.

    • @hanguyenuan4967
      @hanguyenuan4967 6 лет назад

      how do you solve this by?

    • @jal34070
      @jal34070 5 лет назад +5

      @@hanguyenuan4967 encrypt the data when you store it, decrypt the data when you display it

    • @WeeHee
      @WeeHee 4 года назад +1

      why did you not even mention that he is in a very big risk of a SQL injection?

  • @Rezzworks
    @Rezzworks 7 лет назад +39

    "Now friends...." "Now friends..." "Now friends...."

  • @judeleon8485
    @judeleon8485 5 лет назад +2

    It is great tutorial. It does not matter if it is computer generated voice or not. What matters is that the audio clear enough for the audience

  • @SerenityWaves2.0
    @SerenityWaves2.0 7 лет назад +5

    You should not make a cookie with user's information as a value

  • @TheRealThunderTurtle
    @TheRealThunderTurtle 6 лет назад +22

    friends, friends friends........ really? you must be from India

  • @paulchao3965
    @paulchao3965 5 лет назад +1

    it is bad way to do it. You can set cookie id and store that id in your database, next time just get the cookie id from the cookie and search on the database. And if it match you let the user in. That it.

  • @dancanua7926
    @dancanua7926 5 лет назад +1

    The concept was executed perfectly, but storing password after destroying a session is really a bad idea.

  • @ArifBillahOnGoogle
    @ArifBillahOnGoogle 3 года назад +2

    Friends, welcome to the PHP login tutorial where *security is of no value.*

  • @maynhart8254
    @maynhart8254 6 лет назад +4

    Uhmm storing password in a cookie? Really bad idea

  • @saadsaiyed7
    @saadsaiyed7 4 года назад +5

    now FRIENDS I'm out of here.

  • @keepcalm3394
    @keepcalm3394 4 года назад

    Hey there,
    It’s possible to send someone a link with login and password and after he fill the page to get his Cookies and use in another pc directly logged in without put email and password?
    Thank you.

  • @mimoudix
    @mimoudix 5 лет назад +1

    not secured, it's like storing password into a cookie

  • @vanlalbsiama5530
    @vanlalbsiama5530 8 лет назад +10

    the tutorial is good and really helpful. but the tutor sounds like a computer generated voice.

    • @tiqo8549
      @tiqo8549 4 года назад +1

      Maybe..because it "is" a computer voice ? haha..my friend..

  • @mskaleia
    @mskaleia 6 лет назад +2

    The password should not be stored in cookies, instead you should generate a token

    • @angulini
      @angulini 5 лет назад

      true i am using cookies for reembering the session if you go out of the tab or window and i am using the sessions id as the check to not access any dating and if is true display the data

  • @etacyrilnelsoneta1573
    @etacyrilnelsoneta1573 3 года назад

    you are the best php channel

  • @jsl82837
    @jsl82837 4 года назад +2

    Do not use this its not Save! Never store user data in a cookie!!!

  • @jsl82837
    @jsl82837 4 года назад +1

    not secure

  • @nitinmoon_Nagpur
    @nitinmoon_Nagpur 6 лет назад

    i love your all videos .. txxx sir

  • @g212channel4
    @g212channel4 3 года назад

    Good job sir

  • @hanguyenuan4967
    @hanguyenuan4967 6 лет назад

    $_SESSION["admin_name"] = $name; -> need to move out of if..remember. it must be in if($user)

  • @rizwanapulujakar3629
    @rizwanapulujakar3629 5 лет назад

    To give “Remember me” functionality during login which type of cookie should be used?

  • @AhmedGhazel
    @AhmedGhazel 2 года назад

    That's very useful, thank you a lot

  • @subratranjan151
    @subratranjan151 7 лет назад

    sir can you please create online chat application where a user could send request and after accept the request then the user will be able to make chat only with the accepted users

  • @Julio860JVL
    @Julio860JVL 4 года назад

    Do not do this. This is the same as writing your user and pass very big on your car and then driving it around the city like nobody is reading it.
    Instead, just use the already built in remember option from the browser.
    That way is like writing your user and pass in a piece of paper and storing it in your car glove box.

  • @parhamlashgari7561
    @parhamlashgari7561 4 года назад +1

    using cookie to save the passwords? wtf?

  • @bhargavmehta9860
    @bhargavmehta9860 5 лет назад

    Wow. Now friends.. Everybody should store their password unencrypted in the cookies. So everybody can hack and mess. Now friends, we, hackers everybody will be happy. Cheers. 👍👍👍

  • @csstudio198
    @csstudio198 6 лет назад

    $result = mysqli_query($connect,$sql);
    $user = mysqli_fetch_array($result);
    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\SCK\index.php on line 19
    how can I fix this error?

    • @angeloajuong3660
      @angeloajuong3660 5 лет назад

      It means that you only created the database but you didnt imort the database or no valid data in the database

    • @BhootFmOfficial786
      @BhootFmOfficial786 2 года назад

      set value=1 in remember me;

  • @palashmitra7311
    @palashmitra7311 8 лет назад

    Is there any way to update cookies value to database in your tutorial? I think your lesson is incomplete.

  • @abdulwadudmoro2880
    @abdulwadudmoro2880 5 лет назад

    Please help us create a complete login system with cookie

  • @dharmannlover69
    @dharmannlover69 4 года назад

    ah yes the classic yellow circle around the cursor

  • @sheyanswain6141
    @sheyanswain6141 4 года назад

    what is your script in log out?

  • @YenNguyen-em6cf
    @YenNguyen-em6cf 8 лет назад

    thank you very much

  • @tantowijaya7806
    @tantowijaya7806 5 лет назад

    thank you so much !

  • @ddh97
    @ddh97 3 года назад

    Pleasure friends its a pleasure. 😁 said by hacker

  • @ArifBillahOnGoogle
    @ArifBillahOnGoogle 3 года назад

    With his "friends", I know he's most most likely from India. :d

  • @DrLifeGamer
    @DrLifeGamer 5 лет назад

    nice Boris voice

  • @kapilpareek3954
    @kapilpareek3954 7 лет назад +1

    I wana set cookies for 1 day

    • @webslesson
      @webslesson  7 лет назад +4

      Hi Kapil Pareek, please check this code for set cookies for 1 day.

  • @salvadorcossa3265
    @salvadorcossa3265 7 лет назад +1

    Now friend, I thank you

  • @abdiazizahmedmohamed7927
    @abdiazizahmedmohamed7927 6 лет назад

    thanks

  • @andrealepori4708
    @andrealepori4708 3 года назад

    not found! terrible

  • @BroExperts-Tutorials
    @BroExperts-Tutorials 5 лет назад

    Now friends you are ready to be hacked whit this bulshit technique ... :D

  • @umerarain6814
    @umerarain6814 7 лет назад

    please also develop in Codeigniter

    • @webslesson
      @webslesson  7 лет назад

      Thank you Umar Arain for writing to us. We appreciate your valuable feedback.

  • @TheHolyReality
    @TheHolyReality 7 лет назад

    Good video :)

    • @webslesson
      @webslesson  7 лет назад

      Thank you, have a nice day!

  • @abdulwadudmoro2880
    @abdulwadudmoro2880 5 лет назад

    Please help us create a complete login system with cookie