Codeigniter 4 authentication example | Complete login System [Easiest way] 2022

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ •

  • @aldrinjohnencina6153
    @aldrinjohnencina6153 Рік тому +1

    thank you so much, you help me a lot for my carrier. hope you make more tutorials regarding in codeigniter 4.

  • @webpocherk
    @webpocherk 2 роки тому +3

    After looking up user in the database, I added a NULL check
    ...
    $userInfo = $userModel->where('email',$email)->first();

    if ($userInfo === NULL) {
    session()->setFlashdata('fail', 'User not found');
    return redirect()->to('auth');
    }
    ...
    Otherwise, when checking the password hash: $checkPassword = Hash::check($password, $userInfo['password']);
    Error is issued
    "Trying to access array offset on value of type null"

  • @Jeff-fe2mz
    @Jeff-fe2mz 2 роки тому +3

    Hash is not working

  • @tarcisiojunior5264
    @tarcisiojunior5264 Рік тому +1

    How do I download the full file? I can't find the link that downloads, on the site there are only a few example files: controller auth, ... I wanted complete, is there any way?

  • @rfcrum1
    @rfcrum1 11 місяців тому

    Can you shed some light on how you're handling routes? You don't appear to be using auto-routing, but I don't see in your video where you're changing the routes.php files to handle new routes you setup. Is the magic in the .htaccess? Thanks!

  • @creatifycollective
    @creatifycollective Рік тому

    Please help I am having an issue when I login it submits but nothing happens ( I can seen in the debug that data is entered and it matches to whats in the DB) yet it just takes me back to login (I cant access dashboard because it doesn't log me in also). Thanks!

  • @cristian-paraschiv
    @cristian-paraschiv Рік тому

    It’s looking good, I’ll use it in next days

  • @robertg1968
    @robertg1968 Рік тому +2

    Hello
    thank you for this guide
    any chance that you update (create a new one) this with "Codeigniter Shield" ?
    Thank you

    • @ZarxBiz
      @ZarxBiz  Рік тому

      Thank you for the comment sure I look into it. Hopefully soon.

    • @robertcorsarideejay
      @robertcorsarideejay Рік тому +1

      Thank you really much for the acknowledgement

    • @ZarxBiz
      @ZarxBiz  Рік тому

      No worries

  • @mustafad1149
    @mustafad1149 2 роки тому +2

    Hi. How can i do e-commerce transactions on Codeigniter? Like shopping cart virtual pos. Thanks.

    • @ZarxBiz
      @ZarxBiz  2 роки тому

      Thank you for the comment, The concept is quite same as given here ua-cam.com/video/hOF2NQkkyYk/v-deo.html But will have to implement in CodeIgniter. I will try to create a video. Cheers

  • @himanshupansuriya8877
    @himanshupansuriya8877 2 роки тому +2

    Any new tutoriyal for codeigniter 4 ??? ,

  • @estherboon-px6gj
    @estherboon-px6gj Рік тому +1

    Hi, author, sorry disturbed you, may I know why I type php spark serve, it give error message said that:
    php : The term 'php' is not recognized as the name of a cmdlet, function, script file,
    or operable program. Check the spelling of the name, or if a path was included, verify
    that the path is correct and try again.
    At line:1 char:1
    + php spark serve
    + ~~~
    + CategoryInfo : ObjectNotFound: (php:String) [], CommandNotFoundExceptio
    n
    + FullyQualifiedErrorId : CommandNotFoundException

    • @aldrinjohnencina6153
      @aldrinjohnencina6153 Рік тому

      the same problem. but I already solved it. when you type "php spark serve", the directory in the terminal must be "xammp>htdocs>codeigniter4folder". that is called a rootfolder. if you are not in a rootfolder, it will display error.

  • @mahmoudmoussa6722
    @mahmoudmoussa6722 2 роки тому +1

    Great content! Couldn't you maybe build a small full stack project using nuxt or vue and codeigniter? If no, it'd be appreciated if you create more codeigniter content.
    Thanks.

    • @ZarxBiz
      @ZarxBiz  2 роки тому +1

      Thank you for the comment. Yeah I will try to make more videos like that. 👍

  • @fitNdedicated
    @fitNdedicated Рік тому +1

    not working sir when i go to register or login says route not found help

    • @HsaingjungHsu
      @HsaingjungHsu Рік тому

      maybe $routes->setAutoRoute(true); can help

  • @k.santhosh6507
    @k.santhosh6507 2 роки тому +1

    Good explanation

    • @ZarxBiz
      @ZarxBiz  2 роки тому

      You are most welcome

  • @muhammaddaffaravfriza131
    @muhammaddaffaravfriza131 Рік тому +1

    Thank you so much, you're the man!

  • @MohamedHassan-pj2cl
    @MohamedHassan-pj2cl Рік тому

    can you give us the htaccess code plz??

  • @gamingandinfopoint6679
    @gamingandinfopoint6679 2 роки тому

    I need source all of the code files for better understanding please help me bro

    • @ZarxBiz
      @ZarxBiz  2 роки тому

      Hi have you tried to download ?

  • @programmersohan599
    @programmersohan599 2 роки тому +1

    great

  • @carloschamorro1149
    @carloschamorro1149 2 роки тому +1

    te kiero mucho