Log and Register users in a JSON file | PHP and JSON tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 47

  • @DigitalFox-tutorials
    @DigitalFox-tutorials  2 ปีที่แล้ว +2

    Sorry guys, i had to delete the video and upload it again, by doing so your comments were erased . Sorry.

  • @babygrandadplays
    @babygrandadplays 2 ปีที่แล้ว +4

    I feel like this video should have way more views and you a lot more subscribers. This is top quality information. This is exactly what I've been looking for.

  • @S_R29
    @S_R29 2 ปีที่แล้ว +1

    @Digital Fox, dont worry i copied all files from your website and got it all working thanks.

  • @Miroslav-Sumper
    @Miroslav-Sumper 2 ปีที่แล้ว +2

    You helped me to resolve my assignment, thank you very much!🤗

  • @payperme
    @payperme 2 ปีที่แล้ว

    Great video, it gave me some ideas. by the way the web page explanation it's better than the video, excellent job.

  • @haley8850
    @haley8850 2 ปีที่แล้ว

    Keep up! I love how you explain those and it makes more understandable :smug

  • @cookingwithirandokht1717
    @cookingwithirandokht1717 ปีที่แล้ว +2

    Hello, I'm wondering how I can do this project with Java.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว

      Hey, i can't help you with that, my knowledge of Java are not good enough, but of course you can create the same app with Java, you just have to study.
      Thanks for watching

  • @zaifhossain8509
    @zaifhossain8509 2 ปีที่แล้ว

    You are undoubtedly doing great for learners. Is there any way to contact with you? Maybe ask for some suggestions or giving feedback.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว +1

      Thank you. You can contact me through my website
      digitalfox-tutorials.com/

  • @kindyletutorials7197
    @kindyletutorials7197 ปีที่แล้ว

    1000000000000000000000000000 thanks.

  • @S_R29
    @S_R29 2 ปีที่แล้ว

    Hi DigitalFox
    I managed to get my first error sorted which I had enquired about before. But in your tutorial about how to make a login system using PHP and JSON file. There is an error where I enter the username and password and it says both fields are required error. This is when trying to register. I even tried copying your source code and it still isn't working. This is the checkFieldValues function in register.class.php. I have also sent an enquiry on your page, just wanted to make sure you receive my question. My project has been driving me crazy

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      Hey, i just downloaded the files from my website and tested the application. I didn't find any problem in the registration process, everything works fine. Did you changed something?

    • @S_R29
      @S_R29 2 ปีที่แล้ว

      @@DigitalFox-tutorials the only thing I changed is the name of the json file from data.json to users.json

    • @S_R29
      @S_R29 2 ปีที่แล้ว

      @@DigitalFox-tutorials also how did you test it? I ran it through a hosting website

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      That's ok, but did you changed the name also in the register class?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      In my localhost server.

  • @estherojo5707
    @estherojo5707 ปีที่แล้ว +1

    I have this error
    Cannot use object of type stdClass as array
    on the line
    if($user['username'] == $this->username){
    could you please help?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว

      Hey, maybe there is a typo somewhere in your code. You can download the source code from my website and check it out. digitalfox-tutorials.com/tutorial.php?title=Register-and-login-application-with-php-and-json
      Please text back if the error persists.

  • @ejvali
    @ejvali 2 ปีที่แล้ว +1

    Is this secure? Or, do you have any security tips?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      Since we hash the password, yes it is kinda secure. But i prefer to use a database.

    • @ejvali
      @ejvali 2 ปีที่แล้ว +1

      @@DigitalFox-tutorials Can I ask even not related: what database host do you use? Or what do you recommend me to use?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      MySQL . But you have to install a localhost server like Xampp in order to use a database.

  • @mykedavon
    @mykedavon 2 ปีที่แล้ว

    Cool and educating video but please how can I get access to all the codes 🙏🙏🙏🙏

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      Hey, thank you. You can download the source code from my website:
      digitalfox-tutorials.com/tutorial.php?title=Register-and-login-application-with-php-and-json

  • @shutterlife404
    @shutterlife404 ปีที่แล้ว

    Can I use html instead of php?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว +1

      No, HTML is not a programming language. You have to use a server side language to write into files.

  • @moinulhossain8173
    @moinulhossain8173 2 ปีที่แล้ว +1

    Can you please provide me the source code, It will be very helpful to me.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      Hey, you can copy the code from my website
      digitalfox-tutorials.com/tutorial.php?title=Register-and-login-application-with-php-and-json

  • @siddhipevekar1633
    @siddhipevekar1633 ปีที่แล้ว

    Can you please share the code

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว +1

      Yes, you can download it from my website:
      digitalfox-tutorials.com/tutorial.php?title=Register-and-login-application-with-php-and-json

    • @siddhipevekar1633
      @siddhipevekar1633 ปีที่แล้ว +1

      @@DigitalFox-tutorials thank u so much

    • @siddhipevekar1633
      @siddhipevekar1633 ปีที่แล้ว

      Your video is really very much helpful

  • @funwithalbi2425
    @funwithalbi2425 2 ปีที่แล้ว

    since replit doesnt have mysql lol

  • @kingsleysimeon4959
    @kingsleysimeon4959 2 ปีที่แล้ว

    your site is not opening.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      I don't know why !!

    • @kingsleysimeon4959
      @kingsleysimeon4959 2 ปีที่แล้ว

      @@DigitalFox-tutorials Is there any other way I could reach you. I have issue creating demo accounts with JSON.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  2 ปีที่แล้ว

      Download the brave web browser, and open a new window with tor. This will work. In which country are you?