Added: 3 years ago
From: rrphillips
Views: 25,034
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (49)

Sign In or Sign Up now to post a comment!
  • thank sir,,, quick but nice tut

  • Hi thanks for the great tutorial, I have a problem though, when I enter my username and password it opens checklogin.php and displays it as brut text. I don't know why it does that.

  • i didnt get the same results i keep getting a blank page

  • @Flashyxxx you need the session_Destroy

  • my checklogin.php is blank, only this thing apper " } " can some one please help me

  • I like your tutorials.... Clear Explanation. Wonderful....

  • I have error:

    Parse error: syntax error, unexpected T_VARIABLE in /home/ikjvrit/public_html/flde­r/checklogin.php on line 6

  • it does not work can you help me

    thanks

  • Hunky Dory FTW.

  • Thank you a lot!

    This really helped me, I almost lost you at:

    "session_register(myusername);­"

    but in this tutorial you kinda explained it :D

  • thanks for this tutorial! its been such a great help! the only thing i cant get working is the logout, it goes to the logout page and all but the user can still press the back button and get back into the main page. Any ideas?

  • Thanks! this tutorial is great! been searching for something simple to help me learn and this is it :)

  • Thank you for your tutorial. I found a lot of tutorial to help my develop php page, but your tutorial is easier to learn.

  • Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\x\xampp\htdocs\checklogin.p­hp on line 7

    Access denied for user 'ODBC'@'localhost' (using password: NO)

  • hi, i would like to know,how to connect mySQL with my site,where is already Login form there. I created my site with webplusX4,can you help me ? thanks

  • dude i generate this code in dreamweaver it wont connect

  • Disregard the 2nd error I madeo n my first pos...I manage to fix it,

  • hi

    i get the errors

    Function session_is_registered() is deprecated

    Use of undefined constant username - assumed 'username'

    What do those mean?

  • REALLY EXCELLENT ALL THE VIDEOS!! Thank you very much rrphillips!! Only one thing pls: 

    ** In login_success.php:

    "session_is_registered" is deprecated now and we could get a warning message saying that. Solution: Use $_SESSION instead of "session_is_registered" . So, replace inside if( ):

    !session_is_registered(myusern­ame)

    by:

    !$_SESSION['myusername']

    and it will work ok! - Thanks so much again!!

  • Comment removed

  • simple login for a website. exactly what i was looking for. very easy to follow videos, thanks!

  • what happened to your screen recorder??

  • You are good at explaining things and I have followed a couple of your other tutorials which after an initial issue of typo's I got working but for some reason this one seems to be quite a challenge, I have built the whole things using the page structure as you and when I understand the code more I will try to do the things you suggest towards then end but getting this working is not happening at the moment.

  • I don't know what i'm doing wrong. First of all i also got a blank page at the checklogin.php. Then i added <?php at the beginning, and then it worked. But when i logout, i still can access the login_success.php page without getting to the mainlogin page instead... Any ideas?

  • awsome tut

  • THANKS MAN!!! GREAT TUTORIAL!!!

  • Hello...can you help me please... everytime when i click on login, i just come to checklogin.php, and i just see a white page and nothing else happend... ican't find the mistake!!!

  • Its the same for me :(

  • thanks great nice but when i enter my username and password if i enter correct or incorrect it will just show me the cheklogin.php empty page it not redirect me if i enter correct id and pass to login_success.php if i enter the wrong also it not redirect me to the wrong username and password page plz help

  • Thanks alot, and if you could make a register too it would be great!

  • Great tutorials!

    You should make the register one now!

  • wow nice. heck when I did visual basic i didnt understand the tutorials but when i did video tuts its been alot easier seems to be the same with php lol

  • Can u make a tutorial about how to make a registration form, that will be very useful, i think there is no point only having a login from, when u cant register, unless you wanna keep the website only for you, but thanks....

  • can u tell me the possible reason why i may just see a white screen after clikin login, i use wamp5

  • Really good tutorial - Thanks alot brother!

  • Thanks so much for this 10 out of 10 for the tutorial very clear and easy to follow and having the code on your site in easy steps is a bonus. Thanks again tried several tutorial before this and could not get them to work

  • i can't make it when i typed my passsword and username i came to " checklogin.php " and don't got the "Wrong Username or Password " if i type the wrong one :/ can you help me?

  • register.php ?

  • I GOT PROBLEM. maybe my login_success.php got some errors or sumthing , but when i enter rong or correct password it goes to checklogin.php

    i created all files ...

  • I prefer to take my logged users to the same page the have logged from ... it can even be cooler if i use ajax and they inmediatly get the results of trying to login to the site.

  • hi i have tryed to make this on my website but when the login is entered it comes up with wronge pass or username i have made all the fields on mysql and the username and pass are correct can u send me the fils u made please?

  • can you please make a regestration page tutariol??

  • I'll keep that in mind. This video is a very generic example of logging in to a site assuming the account already exists. But yes, It would be nice to give a new user the ability to register an account, creating a username (not already used) and password.

  • i love your tutorials

  • this is cool hope to have more videos it is informative than my school teacher

  • yeah you will have that with education. to be honest college is a waste of time and money. you can self teach more. unless your going to college for the girls then you really cant beat that. expensive place to meet females though :/

  • I like your videos - but this login/password SQL query is susceptible to SQL injection.

    Now this is probably not supposed to be an exhaustive video of creating a really robust and secure login method for production servers, but some people may misinterpret it that way.

    So why not do a followup on securing things e.g. using mysql_real_escape_string?

  • i need visual studio for to use Mysql and write the commands??

  • not at all. PHP can be written/edited with any of the hundreds of free text/html/code editors out there. I use Notepad++. Crimson editor is a nice one, too. The MySQL queries are embedded in the PHP. And, you can interact with your MySQL database directly using the popular phpmyadmin interface--which most web hosts already have set up.

  • Thx men,

    I have Dreamweaver and works fine.

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