✔✔✔💥UPDATE: Here is a better version of this video: kzbin.info/www/bejne/iZnFeaqXnt6CptU
@rohanrao31078 жыл бұрын
When I am running the login.php file, it says object not found. I have written exactly the same mentioned in the video, but still?? What could be the reason?
@chapalbarua15217 жыл бұрын
use mysqli_real_escape_string instead of mysql_real_escape_string. You have to send session identifier while using mysqli. Check the format of mysqli for clarification.
@swiftglitxh28236 жыл бұрын
Can't log in? I have repeated this video over 20 times and checked everything I can register the users , that goes to the profile but can't log In
@naimperves95896 жыл бұрын
Do you have the code, mai me: naimperves78@gmail.com
@yatehhh6 жыл бұрын
yeah bro i got same problem cant logged in
@jinatyalmaz25104 жыл бұрын
@@yatehhh me too
@ludean58364 жыл бұрын
@@jinatyalmaz2510 me too
@marufkabir34128 жыл бұрын
Hello there sir, I'm having some kind of error! After pressing submit in register form or login in login form it shows me nothing, just the register or the login form itself reappears, not the home page. it also doesnt save any data in the database.. :( can you please help me out??
@zackpandey90537 жыл бұрын
same problem with me
@mefendjachinedu1677 жыл бұрын
kindly correct the action command on your form set it to home page i.e
@ppkkketil55166 жыл бұрын
i have the same problem, can i know how you solve it?
@mutasim9007 жыл бұрын
Hello Can you Connect your database with mysqli query anf functioning other php pages processess with mysql??
@hadeelsalih16394 жыл бұрын
I have Fatal error: Uncaught Error: Call to undefined function section_start() !!! Why?
@hamiltoncs27755 жыл бұрын
If i write a password that isnt registred already and a random username i can still log in? So my point is that you dont have to register an account for you to log in. Please 'Reply' to this if you have a solution (: Kind Regards
@riteshsuvarna83457 жыл бұрын
even after reffering the exact code from github.com/AwaMel/User-registration.git ...... every time i login it say incorrect username/password (PLS HELP)
@riteshsuvarna83457 жыл бұрын
form { border: 2px solid #f1f1f1; } input[type=text], input[type=password] { width: 40%; padding: 8px 10px; margin: 8px 0; display: inline-block; } button { background-color: purple; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 10%; } button:hover { opacity: 0.8; } .imgcontainer { text-align: left; margin: 24px 0 12px 0; } img.avatar { width: 10%; border-radius:10%; } .container { padding: 6px; } span.psw { float: right; padding-top: 16px; } /* Change styles for span and cancel button on extra small screens */ @media screen and (max-width: 300px) { span.psw { display: block; float: none; } } Login Form Username Password Login For new user Sign Up here....
@lowellamercurio53707 жыл бұрын
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\system\login.php on line 15 help :(
@riteshsuvarna83457 жыл бұрын
its mysqli_num_rows()
@raznorun6 жыл бұрын
anyone can solve this?
@brunoferreira56494 жыл бұрын
if(!$result || mysqli_num_rows($result) ==1)
@franky_fg84308 жыл бұрын
What is the mysqli_num_rows($result) == 1, as it is not working for me?
@franky_fg84308 жыл бұрын
*What is it for?
@kumaresha33486 жыл бұрын
Franky_fg this is to check whether there is username exist or not. If there exist, then login will be successful. 0 means not exist. 1 means exist.
@raznorun6 жыл бұрын
how to recorrect it man, im facing the same prob here, pls help... thanks in advance
@syeddaniyalahmed48927 жыл бұрын
i don't know but $_SESSION['message'] is not working on my registration or login kindly guide me what i am doing wrong...
@WTFMoment885 жыл бұрын
pls help Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\msgr\login.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\msgr\login.php on line 7
@sypheit54854 жыл бұрын
change to mysqli_real_escape_string()
@jinatyalmaz25104 жыл бұрын
Can't log in all users only ones if I put admin and password boom! Nothing
@mukeshpathak73027 жыл бұрын
Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\phpform1 egister.php on line 7 Fatal error: Call to undefined function nd5() in C:\xampp\htdocs\phpform1 egister.php on line 16 How to solve this error? used exact same code as in video 1. Not working, Pls help.
@karlbredenberg4577 жыл бұрын
Remove session_start(); from the if statement and the error is typo where you have typed nd5 istead of md5
@swiftglitxh28236 жыл бұрын
Can't log in all users only ones that are for e.g (username = a and password = a) but if I put admin and password boom! Nothing
@jinatyalmaz25104 жыл бұрын
me too if u find the solution please tell me
@kishangoswami95696 жыл бұрын
if u use $session variable than it doesn't redirect u to the home.php use echo or header
@papedavscilung90384 жыл бұрын
What happen with if (mysqli_num_rows($result) ==1) ??? I've tried >0 , != 1 , ==0 , TRUE, FALSE, WHAT SHOULD I DO??? 😴
@brunoferreira56494 жыл бұрын
if(!$result || mysqli_num_rows($result) ==1)
@JobertRozano8 жыл бұрын
pls healp me if (mysqli_num_rows($result) == 1) is not work it says... Parse error: syntax error, unexpected 'if' (T_IF)
@asjadbaig1237 жыл бұрын
instead of that just write if($result) it will work
@riteshsuvarna83457 жыл бұрын
but then it will even work if username or password is wrong
@asjadbaig1237 жыл бұрын
+Ritesh Suvarna ya that problem can be solved by omitting md5 and add $check =mysqli_fetch_array($result); if(isset($check)){ }
@riteshsuvarna83457 жыл бұрын
instructions are not clear please explain clearly
@michelscheufler92517 жыл бұрын
works nice thanks, hope you'll will go one and do more stuff like this
@thiangteachinzah5 жыл бұрын
Parse error: syntax error, unexpected '$sql' (T_VARIABLE) in C:\xampp\htdocs\test1\login.php on line 13 Can anyone please help me with this error...
@unlimitedsystem65255 жыл бұрын
@flybeattv14884 жыл бұрын
else is not working on register and login.
@flybeattv14884 жыл бұрын
else is not working if I enter wrong password
@chowdhurymobarrathaider90525 жыл бұрын
It shows error in the line of if(mysqli_num_rows($result) ==1) but i tried this if function if(mysqli_num_rows($result)>0) now its working !!! i comment out //$password = md5($password); now it workes absolutely fine
@prasanthkumar99934 жыл бұрын
why md5() not working in login? plz explain sir!...
@ryansgnx8 жыл бұрын
Hi I really enjoy watching your videos. very helpful to me. Just wondering if you could make a video on how to inquire the bcrypt function. Thank you so much
@AwaMelvine8 жыл бұрын
Thank you so much for the encouragement. I'm glad you find them helpful. I will improve on future videos as you suggest. Nice day :D
@techliv98065 жыл бұрын
How to add role in blog website
@zalanborsos85667 жыл бұрын
Somebody can help me? Notice: Undefined index: username in C:\xampp\htdocs\login\login.php on line 7
@unknow3936 жыл бұрын
The same problem correct the syntax check for variables $ ; and =
@kumaresha33486 жыл бұрын
Think u are missing $ symbol under username.
@schokobeast-informatik77768 жыл бұрын
This is my Login . He has a conection to mysql database, but when i login wiht my password and username say it that my youser name or password wrong ist and my regitry is working. Please help me .
@AwaMelvine8 жыл бұрын
Hi, I may not be able to help you with with that code because it's display on KZbin is not well formatted and i find it time consuming to go through. Here is the code for the full user registration, login and logout on github: github.com/AwaMel/User-registration.git. It might help you. Thanks for watching!
@schokobeast-informatik77768 жыл бұрын
Thank you
@MrAhmedUA8 жыл бұрын
@eltonbiavati7 жыл бұрын
Username and Password combination incorrect anyone can help?
@fitrisiswanto61327 жыл бұрын
Notice: Undefined variable: _SESSION in C:\xampp\htdocs\home.php on line 12, how to fix it,,? thanks,,
@eliaswambugu67196 жыл бұрын
It's Supposed To Be "$_SESSION" not "_SESSION"
@rushon46107 жыл бұрын
Thank you.
@ahmadadil77138 жыл бұрын
thanks alot
@allankafushashankar11674 жыл бұрын
The video is poorly shot the codes can not be viewed clearly