User Login and Logout system with Session in PHP and database using MySQLi in Hindi in 2020

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 282

  • @ThapaTechnical
    @ThapaTechnical  4 года назад +14

    ➡➡ How To Get Source Code of Video: www.thapatechnical.com/2019/12/how-to-get-source-code.html
    ➡PHP Password Encrypt Hashing Algo: www.thapatechnical.com/2020/03/php-crypt-vs-passwordhash-functions.html
    ➡➡PHP MYSQL CRUD SERIES PLAYLIST: ruclips.net/p/PLwGdqUZWnOp1SWXrE9Pd9ktzgz6U4Wgg-
    ➡ XAMPP Tutorial In One Video In Hindi: ruclips.net/p/ruclips.net/video/fV8ointgMeQ/видео.html
    ➡ Backend Development Tutorial: ruclips.net/p/PLwGdqUZWnOp1U4kemcU_vF9KQuHXlNxkb
    ➡ Home Page Website Using HTML And CSS in Hindi 2020: ruclips.net/video/a11EyHO_nrE/видео.html

    • @anjudahal9756
      @anjudahal9756 4 года назад +2

      Ramro video xa dai

    • @swaroopthetechz1352
      @swaroopthetechz1352 4 года назад +1

      Tapai lai paisa paunu hunxa? Dai nice awaz

    • @piyushbabhulakar7259
      @piyushbabhulakar7259 4 года назад

      Hi sir sign up problem he ki jab user login hota he to use fresh empty page Kaisa dikaye like Amazon me hota he vese

    • @shamimashraf7218
      @shamimashraf7218 2 года назад

      I face this problem. what should I do please help me sir:
      Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs
      eg\login.php:129 Stack trace: #0 C:\xampp\htdocs
      eg\login.php(129): mysqli_num_rows(false) #1 {main} thrown in C:\xampp\htdocs
      eg\login.php on line 129

  • @asadkhanjan7256
    @asadkhanjan7256 4 года назад

    realy salute u ....bht masla tha mujhy is mai thanks

  • @theashutoshshukl
    @theashutoshshukl Год назад

    Thank you vinod bhai 🙏🙏 your this old video helps me a lot 😊

  • @Aditya-lc5uk
    @Aditya-lc5uk 4 года назад +6

    Next video topic ?
    Ha plz make video on
    1) Login sign-up using Google and FB
    2) paytm payment gateway..

  • @RohitKumar-lv1vi
    @RohitKumar-lv1vi 3 года назад +1

    really nice tutorial, informative as well as interactive, keep it up bro! keep making awesome content and educate

  • @shehrimalik8703
    @shehrimalik8703 2 года назад +1

    after login the page it shows its own record like multiple user login every user should show its own record have you any tutorial acording to this please sir??

  • @omeshdewangan3352
    @omeshdewangan3352 4 года назад

    Awesome....... video sir . Isi taraf app video banate raho new new project me . Thanks you sir.........

  • @SUMITSINGH-jx1zh
    @SUMITSINGH-jx1zh 4 года назад

    Your video deserve lots of like and love❣️ brother ....

  • @darshanrathodcoder9074
    @darshanrathodcoder9074 2 года назад

    Nice bro keep it up you have been creating all those videos are so much valuable

  • @prakharpatwa4480
    @prakharpatwa4480 4 года назад +2

    Thank you for such an awesome video. Are you also planning to make a "Login by Google" OR " Facebook". Desperately waiting for that.

  • @mokarramhossain6670
    @mokarramhossain6670 4 года назад

    Thanks alot sir. form Bangladesh.

  • @ahsanullah3939
    @ahsanullah3939 2 года назад

    Ustaad Saab I really really like your 📸 videos and I have gotten very more knowledge and 🙏 pray for you..

  • @shakibofficialyoutube4920
    @shakibofficialyoutube4920 4 года назад

    Thank you made my project easy!

  • @patnaiksimran7305
    @patnaiksimran7305 3 года назад

    The tutorial was so helpful for me explained well and I created a session on login and logout 😀.I have a Question if I wanted to edit user details in session how can we do it can u plz make the video in that @Thapa Technical

  • @neerajburra
    @neerajburra 4 года назад +2

    sir right password type krne pr bhi INCOREECT bata raha hai

    • @doctasky
      @doctasky 4 года назад

      SAME

    • @axelblaze9210
      @axelblaze9210 3 года назад +1

      @@doctasky
      bhai database meh password aur correct password ki length badao yh dhyan rkhana ki 100 se upar ho mene 150 di thi toh chal gya

  • @dnyanesh31
    @dnyanesh31 4 года назад +4

    pls add a video of how to earn money by adding an advertisement to website.🙏🏻🙏🏻

  • @yogiandkrish6144
    @yogiandkrish6144 2 года назад

    Sir..
    Ek bar login krne ke bad again
    Website me visit krte hai to fir se
    Login krna pdta hai
    Sir aisa kuch kr skte hai ky
    Ki
    Ek bar login kre fir jb tk log out na kr de
    Tb tk jb bhi hm website me visit kre
    Direct home me hi jaye
    Please sir
    I am waiting your reply

  • @SHEERAZ-ALI
    @SHEERAZ-ALI 4 года назад +5

    bhai login to nhi ho raha hy password incorrect aa raha hy ye kese theek hoga

    • @Er-rkyadav
      @Er-rkyadav 3 года назад +1

      Code send karo main check karta hu mistake apka

    • @hrdeveloper719
      @hrdeveloper719 3 года назад +1

      Same question mera be yahi masla a raha ha

    • @hrdeveloper719
      @hrdeveloper719 3 года назад

      @@Er-rkyadav can u help me

  • @yourankitsingh
    @yourankitsingh 4 года назад +7

    Sir how to send verification code to phone number for verification...and how to make forgotten password

    • @mraqeel29306
      @mraqeel29306 3 года назад

      You need to buy sms package for this. I'm using 2factor.in

  • @CyberWings100
    @CyberWings100 Год назад

    nice to meet you sir.

  • @abhishek_02
    @abhishek_02 Год назад +1

    Is this code has some error? Because I'm only getting the if part ie. Invalid Email !!

  • @swarajchoudhary1862
    @swarajchoudhary1862 3 года назад +1

    My login always showing an incorrect password though I have checked several times

    • @rajesh-mv8je
      @rajesh-mv8je 3 года назад

      @crazy life same here !

    • @125siddheshmhatre6
      @125siddheshmhatre6 3 года назад

      same

    • @nonyaango5484
      @nonyaango5484 3 года назад

      Increase ur pass and email lenght at 255 and re-enter any data definitely it will work..but remember your previous data will always show incorrect password since you set that data in low lenght

  • @sumitsave8799
    @sumitsave8799 4 года назад +1

    are you completed series or still remaining some part and some of video deleted from channel ?

  • @zahidshaikh3122
    @zahidshaikh3122 4 года назад +4

    Amazing Tutorial Sir. This one really helped me out for my project, Thanks a lot.

  • @TechGyanamit
    @TechGyanamit 2 года назад

    i created a webpage with login pannel when login successfully it show data but when o refresh page from browser button it show again login page i created webpage using javascript. How can I fix this please help me sir ji 🙏

  • @DEEPANSHU_NAG
    @DEEPANSHU_NAG 4 года назад +3

    Thanks 🙏🏻 for creating awesome videos, always waiting for your awesome video ✌🏻👏🏻

  • @prajwalsawaipatil8707
    @prajwalsawaipatil8707 4 года назад +2

    Please make a video on Blog system in PHP to upload blogs..

  • @bedantakalita4083
    @bedantakalita4083 4 года назад +1

    If enter wrong password stil log in

  • @pragyakumari9141
    @pragyakumari9141 3 года назад

    Thank you sir!!!!!

  • @dhruvd3139
    @dhruvd3139 4 года назад

    Mind blowing sir

  • @Santoshkumar-yi9uq
    @Santoshkumar-yi9uq 2 года назад

    Nice Sir

  • @sapnakose
    @sapnakose 2 года назад

    if we login different user on different tab then if we logout one user then all user logout....you can check sir i use this code but got this issue how can we resolve if perticular user logout then only those logout not all....

  • @ismailhosain7514
    @ismailhosain7514 4 года назад +2

    Sir, my request to you that please share #HTML and #CSS source code as free. I hope you will keep it in your mind.thank you sir.

    • @SACHINKUMAR-ye8dc
      @SACHINKUMAR-ye8dc 3 года назад +1

      bhai 1 to 2 lakh college me fee de skte ho ho but jo bnda etna mehnaat kar hai unke 50 rupye nhi skte kya aur jab free me hi lena hai to unke videos se sikh lo na aur bana lo

  • @karanthakkar7872
    @karanthakkar7872 Год назад

    hey bro it always shows password incorrect whether i entered correct password. Please reply

  • @pixxelflame8569
    @pixxelflame8569 2 года назад

    sir it's giving callback error on the login page in the password decrypt line

  • @codewitheasyway3662
    @codewitheasyway3662 2 года назад

    Bhai here create an problem in password_verify() function.it's not work.

  • @visitor_t-w3p
    @visitor_t-w3p 2 месяца назад

    very bad way of demonstration..u didnt explained hoe session works and how header response works

  • @syedbd8713
    @syedbd8713 4 года назад +2

    Hello, Vinod. I was watching your videos. And it's really great. It's much helpful than the other videos that I was watching. It was easy to understand what am I doing.
    However, I'm facing an issue regarding password matching while I'm login with the email & password. But it's showing that password is incorrect though I gave the right password. I used the same code as you showed in this tutorial. So, would you please help me out with this issue?
    As I can't attach any file like image here, I'm just pasting the codes. Here it is :
    Thanks

    • @programinzone2473
      @programinzone2473 4 года назад

      Aapne select * from signup likha hai jabki select * from registration hoga.

    • @mollamainuddin6485
      @mollamainuddin6485 4 года назад +1

      I am facing same issue regarding password.... it's always showing me incorrect password...
      Could you fix this problem...??

    • @usamazahid5239
      @usamazahid5239 4 года назад

      @@mollamainuddin6485 if you solve this issue plz let me know I am facing same issue

    • @ncertSummary
      @ncertSummary 4 года назад

      @@mollamainuddin6485 Have you solved your issue I am also facing same problem

    • @nishikumari9351
      @nishikumari9351 4 года назад

      Same issue

  • @purvideb2252
    @purvideb2252 Год назад

    why at the top ?..why cant we use session where we using backend? ..mean to say after html part of the page

  • @sanzanaimam4752
    @sanzanaimam4752 Год назад

    why always showing password incorrect even after giving same email and password

  • @nandunit
    @nandunit 4 года назад

    Comment krne se pehle users ko gmail k through kaise redirect krte h sign in first aur tbi user ko comments krne ko mile .log in p bhut video h pr ispe koi h hi nhi . website mai comments v to important hota h.kya php se modal call kr skte h session k through .agr user sugn in nhi h to pop up sign in first kr k

  • @samarscript5824
    @samarscript5824 3 года назад

    Why do you have a social media button? When You're Not Login With Them..!!

  • @pradeepdaksh882
    @pradeepdaksh882 3 года назад

    Bhai ji kya user id or password k through koi url open kr sakte h like google script

  • @RishabhKumar-ul4sz
    @RishabhKumar-ul4sz 2 года назад

    mine is showing password incorrect and i was also connt the connection file but it showing that

  • @chandankalita2384
    @chandankalita2384 3 года назад

    jinko vi incorrect password ka problem ho raha he
    password_verify('$password', $hash);
    yani plain password ke variable ko single quote ke under likho

  • @84y87
    @84y87 Год назад +1

    8:23

  • @webali2358
    @webali2358 2 года назад

    I want to create a dashboard like page, where we need to login how can I create that, please help

  • @shamimashraf7218
    @shamimashraf7218 2 года назад

    I face this problem. what should I do please help me sir:
    Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs
    eg\login.php:129 Stack trace: #0 C:\xampp\htdocs
    eg\login.php(129): mysqli_num_rows(false) #1 {main} thrown in C:\xampp\htdocs
    eg\login.php on line 129

  • @nhmputhal7584
    @nhmputhal7584 3 года назад

    Brother i need your help my php wesbite is working fine on local host but when i upload it on server login is not working "DB Connection is successful and working fine"

  • @aaryanankit82
    @aaryanankit82 3 года назад

    #thapa technical
    Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in C:\xampp\htdocs\login®istration\logins.php:66 Stack trace: #0 C:\xampp\htdocs\login®istration\logins.php(66): mysqli_num_rows(false) #1 {main} thrown in C:\xampp\htdocs\login®istration\logins.php on line 66
    thapa bhai plz help #thapa technical

  • @CodeTechGyan
    @CodeTechGyan 3 года назад

    Sir mujhe urgent help chahiye tha mera logout Mei problem ho raha hai logout karne ke baad bhi back click karne par main page mei jaa raha hai

  • @bhalchandragaikwad1605
    @bhalchandragaikwad1605 4 года назад

    Thapa bhai, jab main login ke baad browser close kar deta hoon... aur firse open karata hoon to muze login hee dikhata hain. how to solve this issue? please guide

  • @exambondhelpdesk1266
    @exambondhelpdesk1266 Год назад +1

    pls bro how can i fix this..
    my database table says admin admin for username and password. and when i try loging in with admin admin as the username and password it says error wrong password. here is d code below pls help
    what could be the right password or how can i change the password properly.
    $err="";
    if(isset($_POST['reg'])){
    $username=$_POST['name'];
    $password=$_POST['p1'];
    if(!$username || !$password){
    $err="Please enter username / password";
    }
    else {
    $pass=substr(sha1(md5($password)), 3, 10);
    $q=$conn->query("SELECT * FROM admin WHERE name='$username' AND pass='$pass'") or die(mysqli_error($conn));
    if(mysqli_num_rows($q)>0){
    $_SESSION['who']=$username;
    header("location:$domain/admin-p.php");
    exit;
    }
    else {
    $err="Incorrect username/password";
    }
    }
    }

  • @axelblaze9210
    @axelblaze9210 3 года назад

    jinko bhi problem ari h incorrect password ki sahi password dalne ke baad bhi toh apne database ke password or cpassword ke length ko 100 se upar rakho lkin 255 se kam ho mere case meh 150 hai aur problem code meh ni hai guys problem database ki h agr hum length password aur cpassword ka 100 se kam rakhte h toh adha encrypted password save hota jise hum verify krte h toh galat batata h so please apna bhi length password aur cpassword ka 100 se upar rakhe taki pura encrypted password save ho thapa ji ne apne registration wale video meh bhi sabki length 100 se upar rakhi h issiliye unko dikkat ni aa rhi h

  • @iUmerFarooq
    @iUmerFarooq 4 года назад

    Ohh Bhai is Taran k forms tho RUclips phar bohot Jan Kuch Advanced and Naya form banaio like Gmail notification, forget password, Facebook connection, GitHub?
    Try to tech us Integration?

  • @ravishankarkumarkjh
    @ravishankarkumarkjh 4 года назад +1

    Sir
    htaccess ka ak tutorial banayen

  • @Goodstatus171
    @Goodstatus171 2 года назад

    Sir image ke niche like battan ka databas kese bnaye taki pata chale ki kis id se image like huya h

  • @sanketpanchal1582
    @sanketpanchal1582 3 года назад

    Give me a replay for Instagram

  • @UmarKagdi-s9q
    @UmarKagdi-s9q 8 месяцев назад

    Bhai login nahi horha he password or email id code ok he but email or password right fill karte to login nahi horha password are not match esa message pass kar rha he

  • @knowledgebharat119
    @knowledgebharat119 2 года назад

    Sir aap jis application se screen record kr rahe us application ka name bta dijiye plz 🙏🙏🙏 sir

  • @dheeraj_kadela1294
    @dheeraj_kadela1294 3 года назад

    @tondegamer note his voice

  • @the-pratik
    @the-pratik 3 года назад

    Hello Everyone!
    When I get logged in at that time I changed url from localhost/php/index.php to localhost/php/logout.php and it got logged out! And it's just disgusting. Can anyone help me for that how do I restrict user to logout by using the provided button only!
    Thankyou!

  • @subhasparamanick7333
    @subhasparamanick7333 2 года назад

    Bhai 99 RS Loot Raha hai ye chor RUclipsr aaur koi source code provide nehi karega.
    He is a fraud

  • @anupdeka4042
    @anupdeka4042 2 года назад

    Whenever i try to login the password is always incorrect Even though i am entering the correct password and i cannot figure out the issue. please help been stuck there for more than ,5 hours any help will he appreciated

  • @rishtekhojocom
    @rishtekhojocom 2 года назад

    you are real guru in the world

  • @saddamhossen9863
    @saddamhossen9863 4 года назад

    Please tell me why you can go to the index even if you give the wrong password after giving the correct email id

  • @CodingFire
    @CodingFire 4 года назад

    Sir I saw your previous web hosting with GitHub video but when I did my website index page was hosted but the links of other pages can't be open and they are not hosted so how I can host all of them plZ help sir

  • @chetan187
    @chetan187 4 года назад +2

    log in nahi ho rha
    password incorrecct show ho rha h

  • @computerlearning2322
    @computerlearning2322 3 года назад

    HOW TO SOl
    Notice: Undefined index: email in C:\xampp\htdocs\crud2\login.php on line 25
    Notice: Undefined index: password in C:\xampp\htdocs\crud2\login.php on line 26

  • @spotlightevents3366
    @spotlightevents3366 3 года назад

    sir I'm getting an issue with the header('location:index.php'); can you please help me to get out of this

  • @pixxelflame8569
    @pixxelflame8569 2 года назад

    please little bit guid

  • @sujaypramanick007
    @sujaypramanick007 4 года назад

    Sir, can we destroy a specific session. Because if we click one-page logout button so this cause this program affects other page login system....So please help me...!!!

  • @sohelnadaf3887
    @sohelnadaf3887 3 года назад

    Sir plz make video on olx clone

  • @mrkane7964
    @mrkane7964 3 года назад

    Sir plZz e-commerce pr banao video

  • @mokarramhossain6670
    @mokarramhossain6670 4 года назад

    Sir Please make video on Dynamic restaurant website... from Bangladesh.

  • @anshuvishwakarma6020
    @anshuvishwakarma6020 2 года назад

    Nodejs me loging logout with session kaise banaye bhai

  • @codesetter2497
    @codesetter2497 Год назад

    Amazing tutorial

  • @Sarcastic_Suthar
    @Sarcastic_Suthar 3 года назад

    sir password incorrect bta rha hai sahi likha fr bhi

  • @madhavisinha6350
    @madhavisinha6350 3 года назад

    Hi, mai password sahi bhi daalti hu phir bhi incorrect password hi q aata hai?

  • @shyamsingaroy2367
    @shyamsingaroy2367 3 года назад

    Bro I am getting incorrect password everytime even after entering correct password also

  • @vlogwithsingh8695
    @vlogwithsingh8695 3 года назад

    Thank u thapa sir

  • @CSe_IT_Guy
    @CSe_IT_Guy 3 года назад

    Why my browser showing invalid e-mail...if already have valid email help

    • @nonyaango5484
      @nonyaango5484 3 года назад

      I got Same issue bro...if u have solved the problem then pls inform me🙏🙏🙏

  • @alieifrahim684
    @alieifrahim684 5 месяцев назад

    thank you sir

  • @viveknarkhede9717
    @viveknarkhede9717 3 года назад

    Php se candle chart kase banaye es par video banaye

  • @forexspectrum4799
    @forexspectrum4799 2 года назад

    awesome brother

  • @amjadawan4150
    @amjadawan4150 4 года назад

    sir kindly make series videos in which there lot of javascript usage......

  • @zindarikhoobsurathai2881
    @zindarikhoobsurathai2881 3 года назад

    Grocery related

  • @ActingRedzone
    @ActingRedzone Год назад

    Nice video

  • @armanahmed4806
    @armanahmed4806 4 года назад

    Thapa ur video are juz awesome learned alot from you but plz make one video full stack using both frontend nd backend a complete one video❤️

  • @AmirShaikh-gz2yi
    @AmirShaikh-gz2yi 4 года назад +1

    Sir make a video on SQL injection

    • @CodersGyan
      @CodersGyan 4 года назад

      Security is very important these days :)

  • @codeforfun7884
    @codeforfun7884 4 года назад

    Introduction to the Applied Visual Design Challenges
    vai ismay yak short video banao na

  • @naazsisodiya2396
    @naazsisodiya2396 8 месяцев назад

    exact code same h fir bhi mera login nahi ho raha h

  • @deendayalvishwakarma6995
    @deendayalvishwakarma6995 4 года назад

    please also share video for making relational database to connect and access information of more than two table in phpmyadmin . if you do sir it will be my pleasure . I will wait for your response.

  • @gaurav9660
    @gaurav9660 3 года назад

    thanku sir

  • @kainatit4649
    @kainatit4649 3 года назад

    Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result,
    Facing this error, how to resolve this...?

    • @sanjayghag5707
      @sanjayghag5707 3 года назад

      I had same error for mysqli_fetch_assoc, so I checked the syntax. Just check the underscores and format properly, output will come .

    • @aaryanankit82
      @aaryanankit82 3 года назад

      same error kase kiya plz help

  • @monidas9913
    @monidas9913 3 года назад

    can you make video of how to create user authentication in mongodb

  • @SandeepKumar-xv3xp
    @SandeepKumar-xv3xp 3 года назад

    Sir g yeh video mujhe reactjs par chahiye

  • @zindarikhoobsurathai2881
    @zindarikhoobsurathai2881 3 года назад

    Sir ek ecommerce website create kiziye

  • @sheetaldongare6300
    @sheetaldongare6300 3 года назад

    Sir plz share video on prepare statement for avoid sql injection

  • @RohitKumar-ho5wy
    @RohitKumar-ho5wy 3 года назад

    Bro isme ap sirf email dalo or password wale field ko blank chor do or login kro...login ho jayega..first time password wrong batayega but second time login ho jayega...check this and fix it. Thank you