PHP Tutorial // User Login and Cookies

A PHP Tutorial creating a User Login and Setting Cookies.

25 Comment(s)

  1. do you have any web pages currently on line, that you have programmed?

    turbojulio | Aug 29, 2008 | Reply

  2. didn’t know michael jackson knew php

    grabiirboubi | Aug 29, 2008 | Reply

  3. Ey men!
    Las cookies no son seguras!
    Cualquiera puede saltarselas (Pues la cookies se guardan en el equipo del usuario)

    Es recomendable que uses Sesiones que se almacenan en el servidor:

    Iloveid | Aug 29, 2008 | Reply

  4. ok? lol

    lplieutenant | Aug 29, 2008 | Reply

  5. you have ugly voice :o)

    theidproblem | Aug 29, 2008 | Reply

  6. Im luving it, keep up the good work.

    54spiritedwill54 | Aug 29, 2008 | Reply

  7. what did your friend ever do to you, lol

    panthar14 | Aug 29, 2008 | Reply

  8. phone ringing? lol

    panthar14 | Aug 29, 2008 | Reply

  9. you shouldn’t put username and passwiord in cookies, and mysql is a good idea but shouldn’t you use that for user and registration

    SmarticalsAndCheese | Aug 29, 2008 | Reply

  10. I changed something on the html_output.php file and now i cant flog into the admin console, it just refreshes when i try.

    Any ideas how i can fix this ?

    fatuesque | Aug 29, 2008 | Reply

  11. This is sooooo usecure, you MUST NOT put an username or id in a cookie! And it is also NOT Encoded, you should Shame yourself!!

    jefwizkid | Aug 29, 2008 | Reply

  12. yeah. i also thought it was the cookies that it is in the kitchen

    xiiaoRABBIT | Aug 29, 2008 | Reply

  13. lmao nope

    lukechris1995 | Aug 29, 2008 | Reply

  14. I thought it was the edible cookies. O.O

    456nto | Aug 29, 2008 | Reply

  15. great thanks!

    caborela | Aug 29, 2008 | Reply

  16. heard music in the background lol nice vid

    lplieutenant | Aug 29, 2008 | Reply

  17. mysql_real_escape_string($user),
    mysql_real_escape_string($password)
    additionally you would want to clean the user input allowing only A-Z 0-9 characters. you can do that with preg_replace() or a regular expression function.

    also i want to say screw addslashes and magic quotes. woot woot PHP 6.0

    JUDASismyHERO | Aug 29, 2008 | Reply

  18. I guess that was pretty cool.

    Dmain1Event | Aug 29, 2008 | Reply

  19. I really enjoyed you php training. You sound young and so bright! I can not find a link to your web site for the code. Thanks for you help, great work!

    42technoman | Aug 29, 2008 | Reply

  20. Awesome, thanks

    lifeg0eson666 | Aug 29, 2008 | Reply

  21. How you can secure form from sql Injections? i am new to php so i really don’t know how to secure form from sql injectins.

    HardCoreMore | Aug 29, 2008 | Reply

  22. Good work kid. Really helped me.

    JeboslavKoljevich | Aug 29, 2008 | Reply

  23. good luck. you’re only watching one of my oldest tutorials.

    lifeg0eson666 | Aug 29, 2008 | Reply

  24. you should explain what the functions does.

    igotnuclearbombs | Aug 29, 2008 | Reply

  25. Hey, I’m about your age and just watched your video. You really need to introduce some kind of sanitation of user input as your current script is at risk of hackers and scriptkiddies(tm).

    If you need help implementing this just give me a shout.

    Ross
    ——————–
    4 Years PHP/MySQL/Linux experience including application development and dns management

    rossalexwilson | Aug 29, 2008 | Reply

Sorry, comments for this entry are closed at this time.