I love your videos! As a self-taught software developer your videos have helped me so much. Keep the videos coming!
@QuickProgramming3 жыл бұрын
thanks :) i really appreciate you taking the time to leave some feedback :))
@Gonga94tz Жыл бұрын
Hongera Sana nakupata kutoka morogoro Tanzania
@pha_mous Жыл бұрын
The best tutorial I have ever encounter on KZbin… pls I wish to be your student, am newbie in programming
@QuickProgramming Жыл бұрын
Thanks for the feedback! good luck with PHP. check my playlists for topics you may like and watch the OOP series as well to learn advanced topics once you're good enough with the basics
@navjotsinghDhanoa2 жыл бұрын
Learning php has become fun cos of your tutorials. Thanks a lot
@jNRoss1233 жыл бұрын
You make it so easy to follow along and understand. I really appreciate your videos! They have helped me so much!
@QuickProgramming3 жыл бұрын
You are so welcome!
@jsmithtraveller3 жыл бұрын
It's been a long time since I programmed anything and this tutorial is brilliant, reminded me of those little page / site code snippets to enhance security. I'll be learning from the other videos on your channel also. Cheers!
@QuickProgramming3 жыл бұрын
glad to hear it thanks :))
@ca79864 жыл бұрын
Loving your channel. Specially about this security. Great work!
@QuickProgramming4 жыл бұрын
thank you so much for the wonderful feedback. i really appreciate it :)
@ca79864 жыл бұрын
@@QuickProgramming and thank you so much for this video ❤️
@QuickProgramming4 жыл бұрын
@@ca7986 you're most welcome
@robertshirck13213 жыл бұрын
Thank you for your time and effort! For a 2-hour video, it took me much, much longer to imitate and get to work correctly. But I learned a lot...especially fixing my mistakes. Really enjoyed your presentation style. Made my day(s)!
@QuickProgramming3 жыл бұрын
Glad it helped! the key to becoming a good programmer is knowing how to fix errors and even having fun while doing it. this is the ultimate secret. so am happy you've learnt some new skills :)
@krillinsworld943911 ай бұрын
I was expecting to see password_hash here. No one I seen has ever used this function with ANY tutorial I have watched in the past 5+ years. It is so simple to use than the unsafe MD5. You did not use any password hashing here at all. This is a VERY simple process to include yet no one does.. But I loved the demonstration of the tokens. That was very cool and easy to understand. I need to get back to my PHP Security Mastery classes. In case anyone was wondering: You have the $password = password_hash($password, DEFAULT_PASSWORD) { //reset of inserting user data } -- Then in your login script you run a statement to fetch the user information based on $email or $username, with your array you do password_verify($password, $data['0']['password']) { //rest of your login code if true }. Of in the case with this example $data['password'] because the $data = $data[0]; first dataset in the array is already set for you.
@QuickProgramming11 ай бұрын
i use password_hash in ALL my tutorials except this one
@krillinsworld943911 ай бұрын
Thank you for your quick reply. That is good to know, I have been implementing this since I learned how to include it in my code. I mainly follow @Dani_Krossing for learning to code, but I have swung into more advanced coding which is more than I can find here. Thank you!@@QuickProgramming
@A_ALI242 жыл бұрын
Thank you very much. I have learned a lot from your videos. It's good that you show different programming methods during the course, and indicate which one is the best. Keep up. All the best.
@QuickProgramming2 жыл бұрын
Thanks for taking the time to leave some feedback and You are most welcome!
@faridisayev15703 жыл бұрын
Great tutorials! My favorite channel!
@QuickProgramming3 жыл бұрын
Thank you!😀😊
@secretmezzanine2122 жыл бұрын
These videos are awesome ! You are fun to listen to and explain things well. I really enjoy watching your videos - thanks for putting time into them.
@davidsulaberidze59783 жыл бұрын
Thank you very much
@QuickProgramming3 жыл бұрын
you're very welcome :)
@laovoyage2 жыл бұрын
Thank you for sharing
@QuickProgramming2 жыл бұрын
Thanks for watching!
@renegade18073 жыл бұрын
Great video, please keep up the good work! Security is not covered enough in this day and age. Sub'd.
@QuickProgramming3 жыл бұрын
thanks for taking the time to leave some feedback and for the sub too :D i appreciate it
@renegade18073 жыл бұрын
@@QuickProgramming You are very welcome. All the best.
@abdomahmoud8769 Жыл бұрын
At 1:36:03, the null coalescing operator can be used to echo an empty string if the post variables aren't set yet. Example: value=""
@thepatlagoon4 жыл бұрын
Are you implementing this within the login/signup system from previous video?
@QuickProgramming4 жыл бұрын
no, this is a separate video just aimed at highlighting security issues in login systems
@thepatlagoon4 жыл бұрын
@@QuickProgramming can you assist me in doing password complexity check for previous video please.
@thepatlagoon4 жыл бұрын
@@QuickProgramming can you?
@laoadventuretour50122 жыл бұрын
Thanks for sharing the good video
@salluc17123 жыл бұрын
very good quality topics and video thank you man thats amazing;
@QuickProgramming3 жыл бұрын
You're most welcome and thank you for your feedback.😊😊
@laovoyage2 жыл бұрын
Thanks a lot !
@QuickProgramming2 жыл бұрын
You are welcome!
@smartambroseug692 жыл бұрын
very instrumental
@QuickProgramming2 жыл бұрын
thanks for the feedback :)
@DoofGore3 жыл бұрын
Great work sir, Thank you so much.
@QuickProgramming3 жыл бұрын
You're most welcome!
@ca79864 жыл бұрын
Amazing video! Cant stop coming back on this video. Please make more on security of web application implementation. ❤️
@QuickProgramming4 жыл бұрын
thanks, i'll make some more. i have one planned that will also deal with security in an object oriented way
@ca79864 жыл бұрын
@@QuickProgramming ❤️ you are awesome mate!
@nihongo_8 ай бұрын
good video
@QuickProgramming8 ай бұрын
Thanks
@LukasKL733 жыл бұрын
thank you for the video, it helps me to understand the security principles on web pages
@QuickProgramming3 жыл бұрын
thank you for the feedback. you're most welcome :)
@musabyemungujanvier72592 жыл бұрын
Very good
@QuickProgramming2 жыл бұрын
Thanks
@quasarmaximus56623 жыл бұрын
Fantastic! Thank you! :^)
@QuickProgramming3 жыл бұрын
you're most welcome :)
@pythonlife2 жыл бұрын
Thank you for all the lessons and courses, but the most important thing is the background music. Do not let me focus. Please do not use any background music. Thank you.
@ryantheghost21854 жыл бұрын
Tysm! Can you make a video on css form styling? im not good at it, I only work with php oop and im very bad at this!
@QuickProgramming4 жыл бұрын
dont worry about it, i'll make one but also i found a tool that lets you drag and drop a whole form so you can create html in a short time. am working on a tutorial
@error7715 Жыл бұрын
Escape using htmlspecialchars in the values part.
@Hohn-jq3gq3 жыл бұрын
In minute 25:13 you said "also"! This word was a german word...are you from Germany? xD Your tutorials are great, thx for this^^
@QuickProgramming3 жыл бұрын
lol actually no am not from Germany. am sure it was just a coincidence :) thanks for the awesome feedback!
@thomashapp3623 жыл бұрын
Hi, well done! I've learned a lot! Thank you very much! I only have one issue: when i log out on my index.php I am redirected to my login.php (via logout.php) - that's fine. (1:45 in the video.) BUT if i hit the back-button then, I land on my index.php with my user-name. Did I mistype something? (Mac OS & Safari)
@QuickProgramming3 жыл бұрын
thanks, am glad to hear that! as for your error, does it still show your username when you fresh the page? if so then your session is still active. it means the logout page didnt do its job, it simply redirected you. so comment out the redirect part in the logout. then logout and see if you get some errors or simply a blank page
@thomashapp3623 жыл бұрын
@@QuickProgramming Ops ... the logout.php works fine (tested with var_dump) - and when I refresh the index.php I am redirected to the login. So everything seems to be good. Just an cosmetic issue I guess. Thanx for your assistance! BTW: I build my first website - may I engage you to check that pig-style thing then?
@QuickProgramming3 жыл бұрын
sure
@thomashapp3623 жыл бұрын
@@QuickProgramming Hi, are you still interested in checking my site (in fact my whites site) ? If so, how can we get in contact?
@BlokeBritish3 жыл бұрын
Good 1 Man - for a beginner like me, this is it !! I wonder if u cd follow the same line of training on Ethical hacking methods.
@QuickProgramming3 жыл бұрын
Thanks, am glad it was useful. And yes you can follow this kind of training for ethical hacking. Learning to protect yourself and learning to hack are practically the same coz in order to be well protected, you must know how hackers think and how they may attack. I may go into such tutorials in the near future
@BlokeBritish3 жыл бұрын
@@QuickProgramming thnks. if u ever do a vid on the hacking bit, see if u cn demonstrate an end to end procedure of how to find bugs on a certain website, any real example target. u dont literally hv to get a bug there of course but whr to start like recon and right upto the point where bugs like xss sql etc can be searched for. i think the problem for ppl like me is tat most vids here r either just too much of theory , or too advanced. still luking for an appropriate tutorial on tat
@valzzu3 жыл бұрын
Nginx doesen't allow you to look into folders at default.
@friend88013 жыл бұрын
please share the source code in description
@QuickProgramming3 жыл бұрын
unfortunately i dont have the code for this project anymore. i lost it
@s.s.scriptties2 жыл бұрын
Do I have to create the token as a column in the database?
@abdomahmoud8769 Жыл бұрын
2:13:59 But the hacker can access the hidden input to get the token
@QuickProgramming Жыл бұрын
It doesn't matter even if a hacker can see the code. If he can see the input, it means he has a valid form since only valid forms have it. This system.only protects you from remote hackers e.g if a hacker sends you an image or link to click that contains form data. If that form is submitted, it will fail
@ganherngyih Жыл бұрын
the folder structure method work for WAMP? Doesnt seems to work for me
@QuickProgramming Жыл бұрын
it should work for wampp since it also uses apache server
@kensyjolicoeur3 жыл бұрын
bro good Job, i really love PHP because of its simplicity, but when it comes to security 🥺🥺
@19Sjoerd933 жыл бұрын
How do I add MD5 encryption to the passwords? You answered: Simple $hashed = md5($password); But where in the code do I have to add this? I have tried many things but can't get it working... Hope you can help me out :)
@riveraarcangelsabate17537 ай бұрын
why i try this but in vs code it so many error?
@kos22223 жыл бұрын
Do you know how to required the username and password to alphanumeric with minimum of 8 characters?
@QuickProgramming3 жыл бұрын
watch this kzbin.info/www/bejne/r56znZWdr5t1pbc
@pedrobrandao61072 жыл бұрын
Excelent video. thanks a lot !!! I just add another topic that i think is very important to security: Hash the password using password_hash command. Thanks
@QuickProgramming2 жыл бұрын
true, i use password_hash for my projects :))
@pedrobrandao61072 жыл бұрын
@@QuickProgramming good. I already add that to this example in the signup.php page but i'm capable to do the same on the login.php page. Maybe because i'm not a programmer. I'm just trying to learn step by step.... i have to discovery how it works on login page....
@jNRoss1233 жыл бұрын
How do you connect the login to the index page or is this it? I also wanted to know how you would have login forms at the top of your page or directly connected to it.
@QuickProgramming3 жыл бұрын
this is generally it, but if you need more understanding on how other files connect together, maybe you can watch this one where i turn an existing html template into a php website kzbin.info/www/bejne/o3yadJyAmr6Cras
@websoftwaredeveloperijtiha30932 жыл бұрын
Cheer Up
@mosesgitahi29374 жыл бұрын
can u share the source code for this. thanks will be easy for us as we learn Very good lessons
@leozeld_nb3 жыл бұрын
Or you could follow the video instead, which is much better in my opinion.
3 жыл бұрын
@@leozeld_nb Yeah, people should put some effort into it at least. They won't learn anything by just getting the source code.
@vishalwatts7 ай бұрын
my code working fine on local machine but same code not working in online server please help _/\_
@Akas76611 ай бұрын
Thanks a lot.I am from Bangladesh.Make a another video with mvc + csrf token.
@jeff39163 жыл бұрын
Great tutorial! But I'm just wondering what was the $url_address for?
@QuickProgramming3 жыл бұрын
its used in the url of a user's profile. its better than using a user id. this url: www.website.com/username is better than this one www.website.com/1234 it helps with google searches (SEO) because the url has the name of the person being searched
@jeff39163 жыл бұрын
@@QuickProgramming Great! Thank you.
@hasanmahmudkhan9663 жыл бұрын
Great Work! Give your facebook, github link or email
@QuickProgramming3 жыл бұрын
ive just created a github, i'll add a link, thanks
@AWSanders73 жыл бұрын
Good tutorial and easy to follow. Do you have a tutorial where you explain how to check the password field against the confirm password field on the signup form, preferably before submitting the form?
@QuickProgramming3 жыл бұрын
i dont have a single tutorial but a series that uses AJAX, which is what is required to check the database without reloading the page. you can watch the series here: kzbin.info/aero/PLY3j36HMSHNWdM1oRHmFIOLxneqSZ6byi
@AWSanders73 жыл бұрын
@@QuickProgramming Thanks, I'll give it a try.
@naughtylewis2 жыл бұрын
wow you are blessed my man good job
@QuickProgramming2 жыл бұрын
I appreciate that
@uuu56733 жыл бұрын
do other people from other computers/ip's access the website?
@QuickProgramming3 жыл бұрын
not on your local machine. but if the website is on the web then yes
@rajkunwar1454 Жыл бұрын
code link please.
@franklinodozie5329 Жыл бұрын
Please can i get the source code for this video ?
@AlmaMat3r3 жыл бұрын
HI, Great tutorial, thank you. If you could give a hand I would appreciated, because I'm getting an error and I can't find where did I made the mistake... The error is the following: Parse error: syntax error, unexpected variable "$user_data" in C:\xampp\htdocs\login\public\index.php on line 5 And the code on this line is the following: $user_data = check_login($connection); I've already saw the video 3 times and I still don't know where to declare $user_data Can you help, please? Many thanks
@QuickProgramming3 жыл бұрын
The error is on the previous line. Check to make sure it has a semicolon. If you won't manage to figure it out, paste the previous line here
@AlmaMat3r3 жыл бұрын
@@QuickProgramming thank you very much!!! I got it... The bloody semicolon is always running away... =)
@QuickProgramming3 жыл бұрын
@@AlmaMat3r nice
@19Sjoerd933 жыл бұрын
How do I add MD5 encryption to the passwords? Now I can read alle the users passwords, i want to get them encrypted so I can not read the password anymore when I am accessing my database..
@QuickProgramming3 жыл бұрын
Simple $hashed = md5($password);
@19Sjoerd933 жыл бұрын
@@QuickProgramming But where in the code do I have to put this?
@James-nk4sj3 жыл бұрын
I can't get the $_SESSION['token'] == $_POST['token'] to be true - perhaps the
@QuickProgramming3 жыл бұрын
Make sure it has an equal sign like this:
@James-nk4sj3 жыл бұрын
@@QuickProgramming Thanks so much for your reply. You were absolutely correct...
@QuickProgramming3 жыл бұрын
@@James-nk4sj awesome. glad it worked
@James-nk4sj3 жыл бұрын
@@QuickProgramming Me to - the inspect process should have made me realize as it was setting the token to the whole php command...
@abdomahmoud8769 Жыл бұрын
When you host your website you can create a username and a password for the important directories so no one can access them without it
@QuickProgramming Жыл бұрын
anything with a username and password can be hacked. its better to simply deny access completely
@FrankWerk-n8e Жыл бұрын
How do i encrypt the password. I tried it with sha256/sha512/md5. but it can't parse to the db. some help?
@QuickProgramming Жыл бұрын
use password hash function e.g $encrypted_password = password_hash($text_password, PASSWORD_DEFAULT); and use the password verify function to check if the password is correct on login, e.g if(password_verify($user_provided_password,$password_from_db)){ //password is correct }
@yash-fe2fe2 жыл бұрын
can you please provide us the source code file?
@nahomsintayehu31392 жыл бұрын
Thankyou.please link the source code in description
@QuickProgramming2 жыл бұрын
unfortunately i didnt save the code for this project sorry
@kemikkenya97943 жыл бұрын
share the source code kinfly
@kensyjolicoeur3 жыл бұрын
i am here for security
@Parken262 жыл бұрын
$username on the signup page is breaking my try at replicating this, can anybody point me in the right direction?
@harmonreiner79923 жыл бұрын
tags can be anywhere in the HTML Document. However, it is best to have it inside the
@randomengineer85603 жыл бұрын
It will be easier to learn with the source code, so we can fully focus on what you are doing.
@BlokeBritish3 жыл бұрын
but isnt this too good for beginners Randy ?
@pseudounknow55593 жыл бұрын
@@BlokeBritishIt's a good tutorial overall but I have trouble to follow without the source code too.
@QuickProgramming3 жыл бұрын
unfortunately for this particular tutorial i lost the source code. i dont usually pay attention to the code because i dont think it helps in learning. i'll save it for you next time
@BlokeBritish3 жыл бұрын
@@QuickProgramming but u showed the code didnt u ? wat more source code is needed ? i dont get it
@QuickProgramming3 жыл бұрын
@@BlokeBritish for some, simply watching the video inst enough. they need a text version of the lesson in order to learn properly. we are all different so i understand. its just that in my experience, having the text does not encourage you to type it yourself. you get in the habit of copy and paste. if you dont type it yourself, you learn very little. thats why i usually dont give the source code. to be a good programmer, you must type the code yourself to build muscle memory and you must also strive to solve errors on your own or with as little help as possible. having the source code does not encourage you to do any of this, since the answers are already there. when you're given a real life project, there will be no source code to look at. so i do provide the source code in some projects, on request, even though i dont agree with it
@jefawk9603 Жыл бұрын
A lot of the same mistake most youtubers do: do low level front end. We're here for the back end, couldn't care less it's 4px or auto or blue.
@QuickProgramming Жыл бұрын
And this video was made just for your pleasure and specific needs, right? The sense of entitlement lol. Not everyone is a genius like you, genius. Some people do care if it's 4px or not. Simply get what you need and ignore what you don't. Plain and simple
@2ncielkrommalzeme210 Жыл бұрын
Warning: require(../private/autoload.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\beginner\public\signup.php on line 2 Fatal error: Uncaught Error: Failed opening required '../private/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\beginner\public\signup.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\beginner\public\signup.php on line 2_________________ i get this info in my pc after create sing up page . why and how can i solve it is in my computer or in google they said composer.
@QuickProgramming Жыл бұрын
This error means it can't load the right file. Check your folders to make sure the required files exist and the paths you typed is correct
@2ncielkrommalzeme210 Жыл бұрын
@@QuickProgramming thanks i checked it but again will check windows 8 s defender efects it??
@QuickProgramming Жыл бұрын
@@2ncielkrommalzeme210 no it's not affected by the antivirus. Just check the file paths letter by letter. Take your time. It's the only reason why this can happen
@2ncielkrommalzeme210 Жыл бұрын
@@QuickProgramming thanks your interest. i will do it.
@gufababa75043 жыл бұрын
Share me your source code please
@Oddster12092 жыл бұрын
ou bro i followed this tut to the end several times and i having problem on the 48:05 you put mysqli_query when i do that it says Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.'2022-03-14 02:33:40')' at line 1 in C:\xampp\htdocs\login\log\signup.php:20 Stack trace: #0 C:\xampp\htdocs\login\log\signup.php(20): mysqli_query(Object(mysqli), 'insert into use...') #1 {main} thrown in C:\xampp\htdocs\login\log\signup.php on line 20 any help with these
@EmmaMwesigye2 жыл бұрын
First of all i want to thank you for this informative and easy to follow tutorial. I am a beginner and was given an assignment by my superior to do a login page that would give access to our department help page so you can imagine what it felt stumbling on this. But now am getting this error when I try to signup ( Fatal error: Uncaught mysqli_sql_exception: Unknown column 'user_name' in 'field list' in D:\Xamp\htdocs\mylogino\signup.php:21 Stack trace: #0 D:\Xamp\htdocs\mylogino\signup.php(21): mysqli_query(Object(mysqli), 'insert into use...') #1 {main} thrown in D:\Xamp\htdocs\mylogino\signup.php on line 21 ) and I get this one when I try to login ( Fatal error: Uncaught mysqli_sql_exception: Unknown column 'user_name' in 'where clause' in D:\Xamp\htdocs\mylogino\login.php:20 Stack trace: #0 D:\Xamp\htdocs\mylogino\login.php(20): mysqli_query(Object(mysqli), 'select * from u...') #1 {main} thrown in D:\Xamp\htdocs\mylogino\login.php on line 20). Please help. PS: I even copied and pasted your code from the google files but the error still came up Thanks a lot again.
@QuickProgramming2 жыл бұрын
the error says 'Unknown column 'user_name' in 'where clause'. so make sure you have a column named user_name in your database table