Creative Login and Registration form In HTML, CSS & PHP - Simple PHP System | step by step tutorial.
ฝัง
- เผยแพร่เมื่อ 15 ก.ย. 2024
- How to Make Login Form in PHP and MySQL,
How to Make Login Form using PHP and MySQL,
Login Form | Login Form in PHP and MySQL | PHP System, PHP CRUD
PHP login form in Html CSS,
PHP Form Login, How To Make Login Form In PHP, PHP Tutorial For Beginners
This video shows how to create a simple PHP system. This video shows how to create a dynamic website by connecting login & register form to the database.
How to create an update(edit) form. how to integrate a website with database.
#crud
Full step by step tutorial with source code
@ludiflex
Download codes on
www.ludiflex.c...
I'm non native English speaker. I learn not only about web development, but with Shaun I learn English too! Easy listening! Really big thank you! You are awesome, Shaun.
Thank you so much. I appreciate you
channel that really educates me as a student to learn the backend of php, keep going my friend, thank you very much
Thanks to you too
The best , fast using with correct information, thank you sir go on you will reach get your own desire you thinking real Life....🎉🎉🎉🎉
Thank you so much 🙏
Thank you so much 🙏
Thank you, bro. I had been trying to do this for a month.
thx now i am using it for my website and the code is Legit
Thank you
wow bro perfect i hope for you the health and wealth Keep Going i can't thank you Enough💚
Thanks 👍
Thankyou so much sir! Such a big help to connect my html to database huhu ❤
Me too 😅
Thank you
Thank you so much for this tutorial, I've search for it since a loooong time ! print("
thats greats!!!!!!!!! nice thank you for the crud and show how to put in msql
Thank you
Amezing sir ...
Coding kitni easy krwai h apne...
Thank you very much it works perfectly
REAL TH-camr like you are very Rare this day , Keep up the good work
did you change the main tag to on this part? Because if I use the main tag, the display flex wouldn't work but if I switch it to container "main" it will work.
Thank you sir, Amazing tutorial
God Blessed you
php no se me hace
php no me gusta que me diga
php no me gusta que me diga
php y no me gusta que
php me diga eso y me
php no me gusta que
Fantastic! And learned some emmet abreviations too!! Thank you :)
You are welcome
bro the music is annoying please dont do it again and thanks ♥♥♥
Thank you that issue is solved in new videos
thank u for the tutorial, appreciate it
I love this tutorial!
Thankyou Sir, This is very usefull 👍🏼
Thank you so much
You Are BEST!
Thank you
Amazing 😊thankyou
Please help out!! My own is writing successfully but the data is not in the database once i register, please what could be the problem . I have tried it so many times
Note: the connection is successful
Hi, just have a question. I followed all the steps till 19:12. But instead of it being plain like in your video it said
"Not found
The requested URL was not found on this server"
What could be the issue ? I want to use this to make an assignment and its due on Feb
did you get a solution ?
Hi, Bro! Big thanks for this cool tutorials!!
Thank you too
thanks
Nice.. It worked
Thank you, soon I will release another good video about PHP CRUD stay tuned
Thank you, soon I will release another good video about PHP CRUD stay tuned
yo bro i made a new folder and named it and downloaded the code but i dont know where to paste each file and what to do with them
I have followed all the steps. But showing this error message for "home.php" is the problem in your video at 33:44.
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 '' at line 1 in C:\xampp\htdocs\loginpage\home.php:29 Stack trace: #0 C:\xampp\htdocs\loginpage\home.php(29): mysqli_query(Object(mysqli), 'SELECT * FROM u...') #1 {main} thrown in C:\xampp\htdocs\loginpage\home.php on line 29
i got the same thing the but an ' ' in the $id in the selection statement, also donnu but the $res_columns variables dosent work at all and also delete the $res_id in the echo
thank you so much and the code really worked very well
I'm glad you liked it
Bro can you please share the code
The download link isn't working anymore
Amazing!
Thank you
@@ludiflex vbfghg
hello sir when i tried this program I got the error in the certain file. It was $id=$_SESSION['id']; in the home.php file ,here session id is not set .
What can i do now?
Make sure on the login page. You have assigned the value on $_SESSION['id']
Thank you ......
bro my sql didnt work
Not Found
The requested URL was not found on this server.
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 80
Hello, I have a problem, when I put incorrect information on the login page, I can access the home page, I think the "$res_Uname" part doesn't work, I don't know if I need to do something different in my database for email and password verification to work
I downloaded the template from the link so I guess it's not a syntax error
Ok let me check. I will change the link
thx@@ludiflex
Thanks man!!
You're welcome
i forgeted to make an column in localhost how do i add a column?
Be sure to subscribe and leave a random comment so we can mess with the TH-cam algorithm
Yeah 👍🏽
i can't open my config.php it says url is not found, any tips?
Sir i got firewall issues ans me plzz
i cant get well the link used to import fonts.googleapis at the start of the css file
Here is the code
@import url('fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
thanks for this tutorial, but need to modify the password to have at least hash before saving it to database for security purposes
I already modify my code to this matter :)
Thanks alot,
Inorder to do so, you can use the function called md5()
ive added hash password using pass_hash function. This is what u do in signup page:
$password = password_hash($_POST['password'], PASSWORD_DEFAULT);
then for login page add this:
change password variable to $password = $_POST['password'];
and result variable keep till email and copy this:
if ($row && password_verify($password, $row['Password'])) {
$_SESSION['valid'] = $row['Email'];
$_SESSION['username'] = $row['Username'];
$_SESSION['age'] = $row['Age'];
$_SESSION['id'] = $row['Id'];
header("Location: home.php");
exit;
Nice tutorial. Do you teach? I would like to do a zoom call with you boss.
🙏🙏
I'm getting an error in if(mysqli_num_rows($verify_query) !=0 ) It says it's syntax error, unexpected token "if". How do I fix this?
Ensure that your `if` statement is enclosed with curly braces and that there's no semicolon immediately after the `if` block.
Did you find the solution
@@FiercieToribio-tu5bk yeah, this is also my problem rightnow. How could i fixed that error?
the source code not available please fix master
ineed your source code for my capstone project
Sorry for the delay,
Now the issue is resolved.
Check the link in the description.
@@ludiflex thank you master you save my capstone project
Thank You So much
I'm glad you liked it
@@ludiflex oh thank you for your valuable reply
Thank you very much. Your video turned out great!🙂🙂🙂🙂🙂
Thank you so much 🙏
music so loud bro but overall good video👍👍
Thank you, I promise new videos will be better
Hi, sir, can you help me? I have a problem when login then in homepage got error Warning: Undefined variable $res_id in C:\xampp\htdocs\Login4\php1\Home.php on line 37
What is on the line 37 ???
35:45 How do I solve the error that the variable defined in the while statement cannot be used outside the while statement? I'm using Maria DB.
same to me
Thank you
You are welcome
brooo iloveyouuu, big help so much!!!!
Happy to hear that👍!
bro ,your tuts witout music will be better..
Please sir I can not see that import very well help me with it sir
What is import google font poppins font?? Im a newbie....
It is the font from google fonts to make the text look good
Amazing.. Did you know that this is a dream for me.. It is a bit difficult, how can I memorize all of this? 😭😢😥
You will get used to it. Don't worry
why not redirected using $_SESSION['valid']=$row['email'];
and then
if(isset($_SESSION['valid']))
{
header("Location:home.php");
exit();
}
Same problem
BRO I NEED TO ADD IT TO A WEBSITE BUT ITS IN XAAMP BUT I WANT TO PUBLISH IT HOW DO I LINK THIS LOGIN PAGE
I'm not getting well what you mean
@@ludiflex I mean If I have to host a website through domain does php file will run or it will show code like we open it directly from our pc
Works perfectly but if i try a wrong username or pass in the login form there is no a warning msg i can access the home page, please any idea to fix this 😩
It is supposed to show a warning which says (wrong username or password)
So check
Or download the codes. Find the link in description
same problem
Check in your php codes on login.php if it is written well as shown
@@ludiflex, @noraaali6201 is right, the "wrong message" warning is in the code, but even if the credentials are incorrect (when clicking the button in the login) it allows to advance to home.php...
Can you tell us how to fix it?
hlo, does this code works for real time websites or it only works in my laptop.
Yes it can work on online websites
what pluggin are you using for your live view?
It is called live server
Bro I have a doubt wt ever I put after that local host it come only index page not showing logout or change profile wts the error here pls clear it for me
Did you write well all the code for the navigation bar
I think the "Download codes" link is either suspended or damaged. Is there any other link? Thank you very much.
Check the link is working.
Amazing, thank you so much for this tutorial. can you make content for admin login? thank you
Yes I'm working on it
may God bless your kind heart😃@@ludiflex
perfect but please increase your voice volume
When i m writting wrong details in login form then also page is going to home page instead of showing wrong password or email
make sure you write well this if statement : if(is_array($row) && !empty($row))
great brother😍😍
Thank you
How to make à vérification for the change profil to not get the same pseudo or mail ?
I don't get what you want to ask!
bro please help im begginer. When i change the file html to php and opening the file to browser everything wont show it even says anlive server por:5000 error
Are you using any server. Xampp, wamp...
@@ludiflex Its actually now working. Ty anway.
Everything good, but background sound was too loud in compare with your voice.
Thank you!
I will change that
I have an error, when i click on the login button it doesn’t take me in to the home page, what I have to
Do?
Same problem
Sir please can you help me, I want to learn how to create login form well
Yeah if it is difficult to understand this video. You can check on some of my other videos.
I have more content but how to create login form
Love the tutorial❤ but u forgot to hash the passwords :(
Thank you,
Yeah I'm sorry for that about it is really simple use md5()
parang gusto ko nalang mag stay sa html CSS 🥲🥲
i followed what you did in 27:27 to 29:48 and when I signin, it doesn't go to home.php
Wait me too, did u get the solution?
Me too
Its good work bro , so kindly asking ,how do i link this registration form ot another php file?
It is simple just alter the database where data will be stored
i got an error saying that i cant call the id without using single qoutes in the selection statement, although i did it and the page works but with warning saying un defined res_id in the echo section ,when i delete it it worked perfectly ! ..agghhhh with these stupid errors 🙂💔🗿
میشه با استفاده از css htmlو jsیک جدول با ردیف های داینامیک کار بکنی و تازه چند تا عملیه ضرب و جمع در ستون ها ام بکار رفته باشه
Yes you can do that
Bro,how can i open files in the browser when they are all .php and .css??
If they are .php you will need a server for example Xampp.
Because PHP is a server side scripting language.
my style.css is not working what could be the issue
Make sure that it is linked with your other files
i acuaully want to use the sql file and i don't know how to connect it please comment
Hello,
If you downloaded it. You just need to import in MySQL server
@@ludiflex which sql server you mean: localhost's sql server
What is import url?
the link is not working
the link for the source code is not working
I'm working on it.
Really soon it will be solve!
@@ludiflex many thanks
@@ludiflex can you solve it?
Sorry for the delay,
But now the issue is resolved.
Check the link in the description.
The issue is resolved, check the link in the description.
Quel est le code?
please make video on a dashboard with php
I'm actually preparing it soon I will release it
Bro if i try this
.input label {
Color:red;
}
.input input:focus~label{
Color:white;
}
But its not working iam trying lota of time what happened
I don't know why,
But if you have already uploaded it to the server just give it time
This tutorial is not beginner's friendly. 😢😢. It's designed for People who are expert already. The video is so faster, the guy is assuming that you know each and every thing. I didn't even able to understand it because I'm a beginner. 😢😢
We are sorry to hear that,
But we have other new videos which are being created they might help as well.
We cant add the another data in this form
Why?
What error are getting?
i cannot dl the code😭😭😭😭
Check now the link is working
it wont let me see the text in data base
Make sure that the connection is set well
After downloading the file it is showing that can't open it
It should open. Did you find the error
33:42 I can't manage to solve this problem
There are two error there.
First is on the session variable: It should be like $_SESSION['id']
Second is a typo error: on mysqli_fetch_assoc($query)
oh, just forget my previous question😅😅. I've been able to fix it. Thank you for the tutorial, this is very helpful in working on a project for beginners like me.Very Well Thank You(๑꧆◡꧆๑)
Okay good 👍
Thank you too
9:54
Its says Not found
in me:(
Where do you see it
Can i seperate ghe Html and PHP code?
Yes, you can do it if you know how to. Do it
You can create separate PHP file and then connect it with the HTML File.
@@ludiflex how please I want to do a login form and sign up form but separate HTML and php file
Just create the login in html
Then in the form tag on the action attribute add the link to the php file
E.g:
@@ludiflex yes it worked thanks Sir
That's Nice
14:21
My data is not showing in PHP my admin
Is the php script connected to the database well in your config.php or connect.php
I got this error in the register step
Fatal error
: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\Login\php\config.php:3 Stack trace: #0 C:\xampp\htdocs\Login\php\config.php(3): mysqli_connect('localhost', 'root', Object(SensitiveParameterValue), 'loginpage') #1 C:\xampp\htdocs\Login
egister.php(15): include('C:\\xampp\\htdocs...') #2 {main} thrown in
C:\xampp\htdocs\Login\php\config.php
on line
3
I create database name login page
in my config.php file:
Is it written like this loginpage or login page
cool
👍