Home > PHP, Programming Tutorials, Tutorials, Video > PHP Tutorials: Register & Login: User login (Part 1)

PHP Tutorials: Register & Login: User login (Part 1)

April 23rd, 2010 Leave a comment Go to comments


Part of the ‘Register & Login’ Project from PHP Academy. This tutorials walks you through how to process a username and password based login against details found in a database, set a session, and process a logout function.

Related posts:

  1. linklovezelda
    April 23rd, 2010 at 00:10 | #1

    I wish these videos would have been out when I started PHP, I had to learn it by messing around with stuff :P

  2. DJRiD3
    April 23rd, 2010 at 00:19 | #2

    looking for part 2????

  3. iTenzo1
    April 23rd, 2010 at 01:19 | #3

    but can you use them together or you have to use one convention?

  4. melodyshero
    April 23rd, 2010 at 01:42 | #4

    @iTenzo1 Mysql was the original code when mysql came out. You can do more with the mysqli if you are using verisions 4. 1+ of mysql.

  5. iTenzo1
    April 23rd, 2010 at 02:31 | #5

    what the difference between mysql_connect() & mysqli_connect()?

  6. royman114
    April 23rd, 2010 at 02:43 | #6

    what happend to the code between pt 3 and 4?

  7. Guidotjes1230
    April 23rd, 2010 at 03:15 | #7

    Parse error: syntax error, unexpected T_LOGICAL_OR in C:xamppphpMyAdminloginlogin. php on line 9

  8. ashperfectimage
    April 23rd, 2010 at 03:25 | #8

    Visit my channel. I offer a Free PHP User Registration System including: Log in, Log out, Register New User, Update User Profile

  9. machine1112
    April 23rd, 2010 at 04:04 | #9

    hay im getting the same error message Parse error: syntax error, unexpected T_ELSE in C:xampphtdocsphpwebsitesvirtual-hqlogin. php on line 13so please help me out !!! tthanks and keep up the good work!!!

  10. mattdademon
    April 23rd, 2010 at 04:30 | #10

    You should have named it Php & MySQL, some people do not utilize MySQL and probably have to use . htaccess files in turn you should release just a PHP one.

  11. mattdademon
    April 23rd, 2010 at 04:58 | #11

    You should have added a name for the submit on the index page. They are useful for issets and for gets/posts.

  12. ThaPaddeProductions
    April 23rd, 2010 at 05:24 | #12

    Idogish 000webhost @ sql dont work: ‘(

  13. lnkee
    April 23rd, 2010 at 06:08 | #13

    Aloha. . I was viewing your clip and I have a problem and I’m with hostgator and unfortunately they aren’t able to assist me. So I saught other avenue and you came up here. My problem is this: Parse error: syntax error, unexpected T_STRING on line 1, not sure what to look for or do? I was told to go in my cpanel to correct this. Its not like I know how to or even know where to start. I hope someone can help me? ASAP. . . my site is down! ;( Lani

  14. jopiloot
    April 23rd, 2010 at 06:24 | #14

    I LOVE YOU!

  15. harryrockin
    April 23rd, 2010 at 06:34 | #15

    my login now is working abit more but when i use my admin user and pass it says could not connect to database and im sure its all named right

  16. harryrockin
    April 23rd, 2010 at 07:17 | #16

    okay when i login it gives the error for no user and pass

  17. librahim
    April 23rd, 2010 at 07:42 | #17

    it should say when you go to their website, login and go to the control panel

  18. afacar1985
    April 23rd, 2010 at 07:45 | #18

    thanks a lot :D

  19. idogish
    April 23rd, 2010 at 08:32 | #19

    what would be the host name for 000webhost????

  20. mag1cwand
    April 23rd, 2010 at 09:09 | #20

    hey thanks a lot!! this is just wat i need. he first tutorial worked great. if i have problems with your other tutorials will you respond to my comments?

  21. MrDesign4Me
    April 23rd, 2010 at 09:19 | #21

    It would be really helpful if you made files you could download with this in it so that it’s a bit easyier. thanks.

  22. sekulr
    April 23rd, 2010 at 09:21 | #22

    exactly what i needed

  23. th3computeradmin
    April 23rd, 2010 at 09:51 | #23

    Nice of you!

  24. fireofgemini
    April 23rd, 2010 at 10:28 | #24

    @twelvezeroseven hey bro there is problem with ur mysqluse WAMP SERVER it is pre configured

  25. twelvezeroseven
    April 23rd, 2010 at 11:22 | #25

    great tutorial! (too bad i cant get it to work. . . )everything is followed exactly as described in all 3 parts, but i get an error. Warning: mysql_connect() [function. mysql-connect]: Access denied for user ‘alex’@’ . . . . ‘ (using password: YES) in . . . . . on line 12the . . . . is information i decided to withhold. im attempting to access through the alex 123 l/p and receive the above message. . . your help is greatly appreciated!!!!thank you!

  1. No trackbacks yet.
You must be logged in to post a comment.