I second the vote about being the best php tutorial on TH-cam. I'm still confused (born that way) about the validation of the information before being written to the DB.
This tutorial... Just wow... I don't know how to code as I am in the Network Admin side of IT, but with this tutorial I as able to run my very first programming page.
The comments in here mentioning your clear and quality message in this video were dead on. I haven’t touched PHP in years and only recently MySQL for a personal project. You connected neurons that haven’t engaged in ages, your delivery style is so good. Liked and subbed and would definitely love to learn more from you.
Hi Dave! Starting as a Web Dev intern soon, and I just wanted to say, how great and informative these videos are for understanding "what's under the hood" so to say. Keep up the amazing work!
Fatal error: Uncaught Error: Undefined constant "require_DIR_" in C:\xampp\htdocs\process-signup.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\process-signup.php on line 29 i keep getting this error
one of the video that got me understand, i've watched 5-more videos, and this is clear. tommorow is deadline for university assigment and my lecturer never teach php
You are a great Teacher!!! This is the best php tutorial i've seen. There are so many tutorials where you can't understand what about they are talking. Your tutorial is step by step, so clear and easy to understand. I must watch all your videos... Thanks a lot!!!
WOW! I always want videos like this. You do an amazing job. Thorough explanation on why each code block is chosen. How to test implementation along the way. And a full video from start to finish comprehensively solving the entire subject at hand. Thank you for your dedication to excellence and kindly sharing it with the rest of us.
This tutorial is awesome! Thank you Dave! I'll try to add your "email-verification tutorial" to this. Maybe with an extra email verification link for user verification. I am a total newbie to php and coding, but your tutorials are THE BEST on youtube! Thank you very much!
Wow, this's a very clear and deep explanation here. Thanks so much for the tutorial. It's obvious you really deeply understand this, based on your explanation and work through. It's so clear and confident. I really appreciate your effort into this tutorial.
I especially enjoy your tutorials; they are some of my favorites. As a person who is career-transitioning into full stack development, I would grasp further from this tutorial if it was presented separately as PHP and JS, front and back end. Your current method was most logical. However, being only slightly familiar with JavaScript, I became a bit lost when you began this tutorial's JSON/front-end section. My javascript course will start in October, but I wanted to mention this for your consideration for those who are not able to return to school for instruction. I have now subscribed to your channel. Your time and expertise are much appreciated!
I really love this tutorial! You should make more Projects like this like (Task List, Converter, Calculator, .... ) I would really loved if you could be my Mentor . You clearly have magic to teach... Can wait to see a new project.
@@Unscripted24Hours did you add the correct amount of strings? in $stmt->bind_param. For example I have first_name, last_name, username, password_hash. so mine is: $stmt->bind_param("ssss", $_POST["first_name"], $_POST["last_name"], $_POST["username"], $password_hash);
Please Dave, Could you do a video on MVC? Explaining the role of each part and how to set code up to achieve the objectives of the Pattern. Lots of videos on TH-cam on the subject are merely showboating! Folks showing off their skills! But, you're a natural Teacher. Can you please help ground us in how MVC works? What makes Views, views, Controllers, controllers, and Models, Models and the linkages. Please, Dave.
Thank you for your kind words! I do have a video on that: th-cam.com/video/9t4MJZvRK78/w-d-xo.html It's an older video, but it's still valid. I also have a full course on that on Udemy that I'm working on updating right now.
Thank you so much for this tutorial! It was super easy to follow and I didn't get any errors (other than the ones showed in the video of course). This'll be a big help for a lot of people!
amazing tutorial. you explain everything very clearly and add code that is crucial for typical website building, for us not to forget. thank you very, very much!
Thank you very much for this. Thanks for also teaching us how to avoid SQL attacks or client-side bypasses. I've subscribed to your channel and can't wait to see more of your content. I've one question that how can I ensure that the email actually exists and is not a made-up email. I will also appreciate if you made video on how to sign up using google or apple account.
Amazing content, every step is explained why this is happening, very calm instructor. Sad there's no javascript projects in your channel Dave. If you could indicate some channel that have the same aspects of your channel I would appreciate. Thanks.
Fatal error: Uncaught Error: Undefined constant "require_DIR_" in C:\xampp\htdocs\process-signup.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\process-signup.php on line 29 i keep getting this error
excellent stuff as always! & txs again (& again & again!!) for yr wonderful class on udemy. constantly using as a ref! u've completely won me over to php & as on an old vb programmer i genuinely never thought i'd ever say that! :)
First of all, I am a big big fan of your PHP videos and courses,. To complement what they teach, I would love to see: 1. (Besides Authentication) Authorization: Creating an Admin area in a website, assigning roles and such things • Learning the differences, pros and cons of a basic Admin area VS. a full-fledged Dashboard 2. Implementation of a shopping cart and integration with payment methods and platforms (eCommerce basics) 3. Editing and managing user uploaded images, i.e. Resize dimensions and Optimizing file sizes 4. Managing graphic content dinamically in a website i.e. CMS-like basic stuff. I just wish to learn how to allow my website's authorized users to update homepage images themselves 5. Difference and use cases for API Calling VS CRUDs to manage relational database content. i.e. API HTTP Request methods VS CRUD SQL actions (a bit confused here about when to use each) Again, THANK YOU so so much, you really outstand discretely from the crowd, a true Academic man. I really appreciate your 'THE RIGHT WAY TO DO THINGS AND BEST PRACTICES' teaching style. P.S. There are many tutorials about all of this in TH-cam, nothing close to what I have learned from you. :)
Thank you so much for your kind words Joel! I've made a note of all your excellent suggestions - I'll let you know when I create some content for them!
This is part 1. Part 2 is here: PHP Password Reset by Email: ‣ th-cam.com/video/R9bfts9ZFjs/w-d-xo.html and part 3 is here: PHP Account Activation by Email: ‣ th-cam.com/video/kC0AIip7Bww/w-d-xo.html
Hello, I have a suggestion. Could you make a video of how to prevent multiple logins for a single user(because you explain so well). That would be amazing. Thank you for the help as well!
For anyone having issues at 18-19 minutes with Fatal error uncaught SQL exception, instead of using if ($mysqli->errno === 1062), you can use a try, catch block like: try { $stmt->execute(); } catch (mysqli_sql_exception $e) { if ($e->getCode() == 1062) { die("email address is already taken"); } }
@dave-hollingworth Thank you. This tut is SQLi version, next step i'll convert it to PDO version. then continue to your Password Reset by Email tut. thnx again :)
Thanks for the best tutorial!!! Thanks for your patience to explain these ideas step by step!!! However,I have another question about working this on Vue Cli. If I work this on Vue Cli, what are do’s and don’ts or any tips?:)
I'm afraid I'm not familiar with Vue Cli, but the backend techniques shown in the video should work with whatever front end Vue code you have in the browser.
Hi Dave! Your tutorial is great! But I have a question: if I'm doing a big project, is it an necessary to put the htdocs folder into the entire project? Or just leave signup.html and others php file following by the project's structure?
@@dave-hollingworth Thanks, and one more problem is that if i want to connect the file php with the html file, i can't do like you with action and method, because in my html file it contains Yup, can you recommend any solutions in this case?
@@eagle-yq7yw I'm afraid I'm not sure what you mean - the action attribute is used to connect the form with the file that will be requested when the form is submitted.
thanks for your great efforts i have learned a lot from this video, and i have a question, are these practices and what you made in this video similar to the real world ?
If you could do Tutorials on Huawei Cloud Services, your tutorials are very good and that area has got very limited resources. Thank you for your efforts
This has got to be the best php tutorial on TH-cam. I really appreciate your work Dave! keep going.
Exactly you are right @Dave Hollingworth
I second the vote about being the best php tutorial on TH-cam. I'm still confused (born that way) about the validation of the information before being written to the DB.
I've been struggling for days on how to setup php on my website and you just made everything clear in 45 minutes. Cheers!
This tutorial...
Just wow...
I don't know how to code as I am in the Network Admin side of IT, but with this tutorial I as able to run my very first programming page.
This HAS TO BE the best tutorial I’ve seen on this subject. Excellent and thank you.
The comments in here mentioning your clear and quality message in this video were dead on. I haven’t touched PHP in years and only recently MySQL for a personal project. You connected neurons that haven’t engaged in ages, your delivery style is so good. Liked and subbed and would definitely love to learn more from you.
i'm a beginner at php and i found this extremely clear and easy to understand! thank you so much!
Hi Dave! Starting as a Web Dev intern soon, and I just wanted to say, how great and informative these videos are for understanding "what's under the hood" so to say. Keep up the amazing work!
I never found someone who explains the way you do. Thank you very much.
Fatal error: Uncaught Error: Undefined constant "require_DIR_" in C:\xampp\htdocs\process-signup.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\process-signup.php on line 29
i keep getting this error
I think this video is one of the best tuturial of creating the registration form in youtube.
one of the video that got me understand, i've watched 5-more videos, and this is clear. tommorow is deadline for university assigment and my lecturer never teach php
You are a great Teacher!!!
This is the best php tutorial i've seen. There are so many tutorials where you can't understand what about they are talking.
Your tutorial is step by step, so clear and easy to understand. I must watch all your videos...
Thanks a lot!!!
This is the best PHP tutorial on TH-cam!
❤️❤️❤️❤️🤜🤛
I followed 5 different tutorials from other authors and none of them worked! This is the only one that worked! Code works!
Thank you so much!!!
I have just discovered this wonderful tutorial of PHP. Incredible. Thank you very, very much!!!
This tutorial is pure gold
Man, I thought the thumbnail of your video was a creepypasta, but u really help me to understand the topic.
WOW! I always want videos like this. You do an amazing job. Thorough explanation on why each code block is chosen. How to test implementation along the way. And a full video from start to finish comprehensively solving the entire subject at hand. Thank you for your dedication to excellence and kindly sharing it with the rest of us.
Dave, this was exactly what I was looking for, and it's a great, clear & concise tutorial - thanks for making it!
You are a great lecturer your code helped me
I've looked at a number of other login and register tutorials. This is the easiest to work with! THANKS
I like your style as it is very consistent throughout.
It's the best and most complete video i saw on that topic to create a register and login form. Thank you Dave !!
This tutorial is awesome! Thank you Dave!
I'll try to add your "email-verification tutorial" to this. Maybe with an extra email verification link for user verification.
I am a total newbie to php and coding, but your tutorials are THE BEST on youtube! Thank you very much!
Thank you for your kind words! I'm hoping to do a "part 2" to this soon with email verification, remember me and so on
Your help has gotten my own website working wonders now. Thank you so much for the help and I hope you do well.
Thank you Dave. I've been brushing up my php skills and your video helped me a lot.
The best signup and login with php and mysql video I've seen so far with some serious validation. Thank you for the amazing video Dave!
thank you I am a beginner and it helped me a lot to understand the fundamental. You have explained all one by one and clear. Thanks!!!
Wow, this's a very clear and deep explanation here. Thanks so much for the tutorial. It's obvious you really deeply understand this, based on your explanation and work through. It's so clear and confident. I really appreciate your effort into this tutorial.
One of the best tutorials I've ever watched! Keep up the good work and thank you very much!
I especially enjoy your tutorials; they are some of my favorites. As a person who is career-transitioning into full stack development, I would grasp further from this tutorial if it was presented separately as PHP and JS, front and back end. Your current method was most logical. However, being only slightly familiar with JavaScript, I became a bit lost when you began this tutorial's JSON/front-end section. My javascript course will start in October, but I wanted to mention this for your consideration for those who are not able to return to school for instruction. I have now subscribed to your channel. Your time and expertise are much appreciated!
Thank you very much for the feedback!
Till now the best tutorial I have ever seen 👍
I really love this tutorial! You should make more Projects like this like (Task List, Converter, Calculator, .... ) I would really loved if you could be my Mentor . You clearly have magic to teach... Can wait to see a new project.
Amazing tutorial loved it
Very bright tutorial and it's so easy to understand the concepts.
Thanks for explaining this so well! Each step is so clear. Subscribed :D
Dave, thank you for your tutorial. Very well explained and useful.
Simple and clear! As long as PHP has been around it’s quite difficult to find solid tutorials - thank you!
My code stops at $stmt->execute() doesn't go to else plz answer me
@@Unscripted24Hours did you add the correct amount of strings?
in $stmt->bind_param. For example I have first_name, last_name, username, password_hash. so mine is:
$stmt->bind_param("ssss", $_POST["first_name"], $_POST["last_name"], $_POST["username"], $password_hash);
4 strings, 4 lots of s (as opposed to 3 lots of s in the video)
Please Dave,
Could you do a video on MVC? Explaining the role of each part and how to set code up to achieve the objectives of the Pattern. Lots of videos on TH-cam on the subject are merely showboating! Folks showing off their skills!
But, you're a natural Teacher. Can you please help ground us in how MVC works? What makes Views, views, Controllers, controllers, and Models, Models and the linkages. Please, Dave.
Thank you for your kind words! I do have a video on that: th-cam.com/video/9t4MJZvRK78/w-d-xo.html
It's an older video, but it's still valid. I also have a full course on that on Udemy that I'm working on updating right now.
Finally, I see the whole enchilada in one go! Thank you. The only thing that it didn't work for me was
just- validate, I couldn't find (yet) why not.
Check the browser console to see if there are any network errors loading the justValidate library
Brilliant, thank you for the free and open education.
Thank you for how so well you taught this, leaving a chance for improvement from ourselves. Much appreciated.
Superb to-the-point video. I especially enjoyed the AJAX + API part, you nailed it under a couple of seconds.
Very well explained. Great work, Dave! And thank you very much.
this is gold, best tutorial I've seen so far
This the best tutorial on php. Good and straight to the point explanation
mysqli_report(MYSQLI_REPORT_OFF);
Is this a question ?@@achmaliki8389
Thank you so much for this tutorial! It was super easy to follow and I didn't get any errors (other than the ones showed in the video of course). This'll be a big help for a lot of people!
amazing tutorial. you explain everything very clearly and add code that is crucial for typical website building, for us not to forget. thank you very, very much!
This is such a great tutorial. You explained everything step by step which is easy to understand.
just one word for this video: awesom, by the way dave could you please add forgot password and email verification process if possible.
Thank you very much for this. Thanks for also teaching us how to avoid SQL attacks or client-side bypasses.
I've subscribed to your channel and can't wait to see more of your content.
I've one question that how can I ensure that the email actually exists and is not a made-up email. I will also appreciate if you made video on how to sign up using google or apple account.
THANK YOU SO MUCH FOR THIS, YOU SAVED MY LIFE I LOVE YOU
Amazing content, every step is explained why this is happening, very calm instructor. Sad there's no javascript projects in your channel Dave. If you could indicate some channel that have the same aspects of your channel I would appreciate. Thanks.
Part 2: PHP Password Reset by Email is here: th-cam.com/video/R9bfts9ZFjs/w-d-xo.html
It's not working for me and am copying thesame
@@ousainoubanja2696In what way isn't it working?
Very nicely done and basically just saved my bacon, great tutorial and added a lot of security measures which are always important :)
Fatal error: Uncaught Error: Undefined constant "require_DIR_" in C:\xampp\htdocs\process-signup.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\process-signup.php on line 29
i keep getting this error
This is great work! I can tell you are a god. Now my mind has enlighted and I understand much more than I did before watching this video! Thank you!
This video is like a hidden gem!
excellent stuff as always! & txs again (& again & again!!) for yr wonderful class on udemy. constantly using as a ref! u've completely won me over to php & as on an old vb programmer i genuinely never thought i'd ever say that! :)
This channel is amazing
First of all, I am a big big fan of your PHP videos and courses,. To complement what they teach, I would love to see:
1. (Besides Authentication) Authorization: Creating an Admin area in a website, assigning roles and such things
• Learning the differences, pros and cons of a basic Admin area VS. a full-fledged Dashboard
2. Implementation of a shopping cart and integration with payment methods and platforms (eCommerce basics)
3. Editing and managing user uploaded images, i.e. Resize dimensions and Optimizing file sizes
4. Managing graphic content dinamically in a website i.e. CMS-like basic stuff. I just wish to learn how to allow my website's authorized users to update homepage images themselves
5. Difference and use cases for API Calling VS CRUDs to manage relational database content. i.e. API HTTP Request methods VS CRUD SQL actions (a bit confused here about when to use each)
Again, THANK YOU so so much, you really outstand discretely from the crowd, a true Academic man. I really appreciate your 'THE RIGHT WAY TO DO THINGS AND BEST PRACTICES' teaching style.
P.S. There are many tutorials about all of this in TH-cam, nothing close to what I have learned from you. :)
Thank you so much for your kind words Joel! I've made a note of all your excellent suggestions - I'll let you know when I create some content for them!
@@dave-hollingworth I appreciate that!
Good teacher. Articulates well and straight to rhe point
Very Good! Very well explained and demonstrated.
Excellent tutorial. Heading to part 2. Thank you very much!!!
Thank you so much!! Im your fan from now on!
Excellent, thank you, Dave!!
This is super informative and really explained in simple terms. Thank you!
This is part 1. Part 2 is here: PHP Password Reset by Email:
‣ th-cam.com/video/R9bfts9ZFjs/w-d-xo.html
and part 3 is here: PHP Account Activation by Email:
‣ th-cam.com/video/kC0AIip7Bww/w-d-xo.html
What other topics would you like to see a video on? Please let me know!
I would say OOP concepts in general , Solid principle, Phpunit
A PHP Event Calendar as I explained below. Using Datetime, PDO for database access, & dispay a message on a date that meets some criterion. Pls.
creating an api plz :)
... maybe an example manipulating SQL lite?
Video about pagination
Explanation is very clear, thank you so much!
This is super informative and really explained in simple terms. Thank you
BEST TUTORIAL EVERRR THANK YOU!
I tNice tutorialnk you speak for a good portion of us.
Hi Dave, You have been so helpful with this code. Thank You!
best php channel imo
super easy to follow. thanks so much for this tutorial!!
I like this tutorial because it's will explained on what happening on codes and step by step and simple
Excellent thanks Dave.
Hello,
I have a suggestion. Could you make a video of how to prevent multiple logins for a single user(because you explain so well). That would be amazing. Thank you for the help as well!
Ok will add it to my list as a potential video, thank you for the suggestion!
You are the best! Thank You for yours tutorials.
BEST TUTORIAL
Great. Thanks brother. Awesome content. I am amazed at the speed you type the codes.😳
Thank you! There might be some editing tricks in there ;-)
that is good. we learned all the important concepts as quickly as possible because of the editing. @@dave-hollingworth
underrated channel ♥
Thank you so much sir. This helped me a lot.
For anyone having issues at 18-19 minutes with Fatal error uncaught SQL exception,
instead of using if ($mysqli->errno === 1062), you can use a try, catch block like:
try {
$stmt->execute();
} catch (mysqli_sql_exception $e) {
if ($e->getCode() == 1062) {
die("email address is already taken");
}
}
This fixed my error, many thanks!
Worked for me! Thanks!
@dave-hollingworth Thank you.
This tut is SQLi version, next step i'll convert it to PDO version.
then continue to your Password Reset by Email tut.
thnx again :)
wow awesome, i am part of your new student
this guy is the goat
Thank you very much! Really helpful!
Why don't you still have a million+ subscribers yet?
Will you have a video that explains how to Require users to confirm their email address before they can login?
Yep, it's on my list!
just wow, keep going. ❤
Thanks for the best tutorial!!!
Thanks for your patience to explain these ideas step by step!!!
However,I have another question about working this on Vue Cli.
If I work this on Vue Cli, what are do’s and don’ts or any tips?:)
I'm afraid I'm not familiar with Vue Cli, but the backend techniques shown in the video should work with whatever front end Vue code you have in the browser.
wow, simple and precise
Hi Dave! Your tutorial is great! But I have a question: if I'm doing a big project, is it an necessary to put the htdocs folder into the entire project? Or just leave signup.html and others php file following by the project's structure?
The htdocs folder is just the root folder of the web server. So yes, you can put the files wherever you like.
@@dave-hollingworth Thanks, and one more problem is that if i want to connect the file php with the html file, i can't do like you with action and method, because in my html file it contains Yup, can you recommend any solutions in this case?
@@eagle-yq7yw I'm afraid I'm not sure what you mean - the action attribute is used to connect the form with the file that will be requested when the form is submitted.
thanks for your great efforts i have learned a lot from this video, and i have a question, are these practices and what you made in this video similar to the real world ?
Absolutely, yes
Thank you dave you helped me
If you could do Tutorials on Huawei Cloud Services, your tutorials are very good and that area has got very limited resources. Thank you for your efforts
Fantastic tutorial!
This is super informative
Thank you so much for this awesome tutorial!