25 Responses to “PHP Forum // Login and Logout”

  • kyle0015:

    its not clear…can …
    its not clear…can you make another one of log in and log out in php pls…make it clear…tnx…

  • ABEDOODUDE:

    dude if you can but …
    dude if you can but all this stup by stup in notebook ?? that well be helpful to got this in my websit i want put Registration and login and logout and stuff like this and im need hellp here if you can help me to do this??if you know ^_^Vhow do this in my websit??

  • lifeg0eson666:

    Quite a fast …
    Quite a fast comment response :P Just go to my website (can find the link on my channel). Then just click Source Files and download PHP Forum.

  • snwspeckle:

    Can you please post …
    Can you please post all the code somewhere because I am trying to configure this but I think I need the index.php code and also having global.php and login.php would help to ensure I have everything correct.

  • edwinokli:

    My login page …
    My login page doesn’t like you, 3 errors:
    Notice: Undefined index: submit
    Notice: Undefined index: username
    Notice: Undefined index: password

    Any help?

  • jameswx09:

    how come bbcodes or …
    how come bbcodes or html doesn’t work?

  • insomniacmonkey69:

    THIS HELPED ME

    I R …
    THIS HELPED ME

    I R NOOB

  • gertvanderpaelt:

    why don’t you use …
    why don’t you use prepared statements?

  • PriditProductions:

    stop your bitching.
    stop your bitching.

  • ShevaFC:

    nope you lame low …
    nope you lame low life self possesive piece of norweigan 2 year old female poor trampy sh it shole

  • leder678:

    I think that if …
    I think that if someone here is the retard, it is you, but hey, that’s my opinion.

    And I think “is that the best he can com up with agains me?”

  • ShevaFC:

    What do you think …
    What do you think retard?

  • leder678:

    The watch your …
    The watch your own spelling…
    “I aint” great one.
    I am not English, so that would be a good enought reason for me to not have perfect english spelling.

    And you do not have to be good in english to make a PHP website.

  • ShevaFC:

    I aint Norwegian. I …
    I aint Norwegian. I believe in penalties. And PHP is all about skill. And spelling is important. Idiot.

  • leder678:

    If you saw what I …
    If you saw what I wrote, I did write “echo” and not “ecko”
    The programming itself doesn’t have to do with spelling, tell me a php code were you write “already”.

    But show us your norwegian skills.

  • ShevaFC:

    Idiot. You have to …
    Idiot. You have to spell to code PHP.
    Me: “echo”
    You: “ecko”

  • leder678:

    May I ask what the …
    May I ask what the spelling has to do with programming?
    May I ask what your problem is? Spell something in Norwegian and see how good you are.

  • ShevaFC:

    Says the one who …
    Says the one who can’t spell “already”. Honestly go and lock yourself in your closet.

  • leder678:

    Because less code = …
    Because less code = less loading time.
    And I know it won’t continue the script, but it will check throught the rest of it even if the if/else statement is true.

  • lifeg0eson666:

    Why would I need to …
    Why would I need to waste more DB-load by selecting everything, I only need to select the fields I need.

    As for the already being logged in, it won’t continue the script if the statement is true, thus the else statement won’t even be looked at.

  • leder678:

    Do not use “id, …
    Do not use “id, username” use “*” (a star)
    that will allow you to select ANYTHING from the database.,

    Do not do “echo ‘you are allready logged in’;”
    that would continue the script.. do “die(‘You are akkready logged in’); (then no need for the else statement).

    Honestly.. this is a bad tutorial, mabye partly more advanced then many tutorials, but still a very bad tutorial.

  • asvls:

    man,can u giv me a …
    man,can u giv me a site wer i can copy ur codes? i need it for our thesis…

  • felixusman:

    Yeah you´re right!
    Yeah you´re right!

  • MrKingCod:

    man i dont like the …
    man i dont like the 666 on your name

  • MrSkullsmasher:

    Hi in the login i …
    Hi in the login i made an account with the username root and password root but when i try login i get: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ”users’ WHERE ‘username’='root” at line 1 Please tell me what im doing wrong thanks and i subscribed. :D