Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Tutorials: Register & Login: User registration (Part 3)

Loading...

Sign in or sign up now!
66,627
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 20, 2009

Part of the 'Register & Login' Project from PHP Academy. This tutorials walks you through registering a user to allow them to log in to your site.

  • likes, 11 dislikes

Link to this comment:

Share to:

Top Comments

  • You do it REALLY fast...

  • What does "Notice: Undefined variable: submit in C:\xampp\htdocs\jonzy\register­.php on line 18" mean. When i first go to the register.php page that eror goes up. Some one please help

see all

All Comments (162)

Sign In or Sign Up now to post a comment!
  • @kwonzomatic you can "escape" this error by doing following code:

    if(isset($_POST['submit'])

    Basically you now are going to check if that post-variable is set. 

  • Parse error: syntax error, unexpected ')' in C:\xampp\htdocs\register.php on line 12

  • Why not use the die function when passwords do not match? By using echo won't the code still run?

  • how to change the echo error msg from top to bottom ?

  • How do you put the strlen function, if MD5 can convert every text you submit into the it's length of codes

  • @kwonzomatic place:

    error_reporting (E_ALL ^ E_NOTICE);

    in your top php block

  • @joeldelumen salt ads a generated code to the md5 hash and it makes it harder for a hacker to get the password, when a user signs up it ad's a string to their password and then runs md5.

  • @BiohazardElements hi. may i ask, what does this salt do?

View all Comments »
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