CodeIgniter 4 Authentication | Login, Register & Filters | Codeigniter 4 tutorial [HD]

  Рет қаралды 69,865

Sawa Stacks

Sawa Stacks

Күн бұрын

Пікірлер: 195
@shemite-nation
@shemite-nation Жыл бұрын
This is my second time I have tried watching this video, my first was I had only watched the first 20 minutes, and I could not follow along because I am a zero knowledge to CI4 back then. I have to watched first a tutorial for zero knowledge like me, and after 3 months I have tried again this video and I am appreciate what I have learned from this video. Thank you very much
@sawastacks
@sawastacks Жыл бұрын
Hope you enjoyed it!
@alvisedwald
@alvisedwald 2 жыл бұрын
This code " $check_password = Hash::check($password, $user_info['password']); " at 39:10 in the Auth controller doesn't check password and therefore i can't login into this system since the password not being checked it's always reported as incorrect. (All other files and lines of code done exactly as taught in the video) Does anyone know how to deal with this?
@omarduenas5593
@omarduenas5593 2 жыл бұрын
same here, cannot login!!
@jampoot42
@jampoot42 2 жыл бұрын
same here
@Ebenboahene
@Ebenboahene 3 жыл бұрын
The best tutorial on codeigniter 4 login/register so far, thanks sir!
@sawastacks
@sawastacks 3 жыл бұрын
Glad it helped!
@estebannsebastian
@estebannsebastian 2 жыл бұрын
If you have 404 problems with the routes and views, you need to change the values of Auto Routing on your CI4 project and the controller syntax, or use the Defined Route Routing method. Check the CI4 web info:).
@daniellejtman1860
@daniellejtman1860 Жыл бұрын
What values should be changed? I have a similar problem 😢
@daniellejtman1860
@daniellejtman1860 Жыл бұрын
Bootstrap is not connecting Log-in
@sawastacks
@sawastacks Жыл бұрын
check your snippets:
@daniellejtman1860
@daniellejtman1860 Жыл бұрын
@@sawastacks I get this error once I saved it: 404 - File Not Found Can't find a route for 'get: auth| BTW, I have corrected the snippet and this same error appears.
@ulfhild_
@ulfhild_ Жыл бұрын
@@daniellejtman1860 Try to add $routes->setAutoRoute(true); in the app/config/routes.php file. Worked for me
@letsbegin1098
@letsbegin1098 2 жыл бұрын
First time am creating the admin panel. Successfully completed. You gave me more confident. The best free tutorial ever, never seen like this before. each and every line was clear. Thank you, so much.
@sawastacks
@sawastacks 2 жыл бұрын
Thank you too.
@remus-tomsa
@remus-tomsa 2 жыл бұрын
Great tutorial, thank you! You write clean code, that is very organized and easy to understand! It's great for learning!
@sawastacks
@sawastacks 2 жыл бұрын
OMG! Thank you so much
@pusho.developers
@pusho.developers 8 ай бұрын
Hola saludos desde Cuba, me siento muy bien y gracias a tí cada día hago nuevas experiencias en CodeIgniter. Bendiciones y mucha salud
@sawastacks
@sawastacks 8 ай бұрын
muchas gracias
@laalithagajanayake4531
@laalithagajanayake4531 2 жыл бұрын
Great tutorial. It helped me a lot while i was facing difficulties when setting up CI 4 project for the first time.
@sawastacks
@sawastacks 2 жыл бұрын
Glad it helped!
@tanmoychatterjee5727
@tanmoychatterjee5727 2 жыл бұрын
Really superb i have followed this and able to create the login check authentication. Thanks bro
@sawastacks
@sawastacks 2 жыл бұрын
Thanks
@sulochanas5434
@sulochanas5434 2 жыл бұрын
thank you so much for this video... u helped me a lot to learn codeigniter4... please keep continue uploading more useful videos like this in codeigniter4
@sawastacks
@sawastacks 2 жыл бұрын
Thank you, I will
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@bedulFattah11
@bedulFattah11 3 жыл бұрын
The best tutorial on codeigniter 4 login/register so far, thanks!
@sawastacks
@sawastacks 3 жыл бұрын
Thank you so much
@bedulFattah11
@bedulFattah11 3 жыл бұрын
@@sawastacks sir, how to make login muti user? (admin and user)
@frz_akbar
@frz_akbar 3 жыл бұрын
thankyou for making this tutorial, this is very helping me to understand Code Igniter 4
@sawastacks
@sawastacks 3 жыл бұрын
Glad it helped!
@aarthim1025
@aarthim1025 3 жыл бұрын
flow of the tutorial and step by step procedure is very understandable useful video thank you so much
@sawastacks
@sawastacks 3 жыл бұрын
Thank you so much
@yagerxs6278
@yagerxs6278 3 жыл бұрын
I needed an example of filters, thank u !
@sawastacks
@sawastacks 3 жыл бұрын
Hi Yagerxs. You will see how to use the controller filters in this video.
@yagerxs6278
@yagerxs6278 3 жыл бұрын
@@sawastacks i really apreciate it!
@ahmedharoon2740
@ahmedharoon2740 2 жыл бұрын
hi, in Codeigniter 4, can i have an example of 2 tables master-detail like i can create in Oracle Apex or Oracle Forms 6i/10g where master is in Form style single record (in above region) and detail in Grd style multi-row (say tabular using datatable etc.), i failed to find yet, please help us. regards
@achridhan
@achridhan 2 жыл бұрын
on 45:26 what "access=out" for?
@gil2053
@gil2053 2 жыл бұрын
Hi, I'm having trouble accessing the Auth.php file. When I try to go to localhost:8080/auth, it shows the 404 error page not found. I followed every step so far. Can you help?
@tijojoseph1831
@tijojoseph1831 3 жыл бұрын
could u plz share the codes, i had typed all by seeing this and stucked some where in the validation.. debuging dont know to identify where is the issue
@sergiocifuentes7241
@sergiocifuentes7241 3 жыл бұрын
Hello I have a problem, I did the same steps as you but the problem is when I log in, I write the data as it is, but it redirects me to the registration page saying that the data is not correct.
@jampoot42
@jampoot42 2 жыл бұрын
i think we have the same problem here. i cant login..how did you fix it?
@torqueprogramming
@torqueprogramming 3 жыл бұрын
can u guide how create role based permission in ci4
@ZuengHseangMaiPunpornsawan
@ZuengHseangMaiPunpornsawan Жыл бұрын
Good tutorial. But I am facing the problem undefined function display_error(). I still resolve it. I also already recheck many time for my code I can't find the mistake. Please help me!.
@devanterab
@devanterab 3 жыл бұрын
i got stuck at validation, can you give me the src code please? thankyou
@muhammadpanji6257
@muhammadpanji6257 Жыл бұрын
Hello sir, unfortunately I have a problem with my code in the Hash.php section, the login process always displays the value false even though the value in the database and what I entered is correct
@sawastacks
@sawastacks Жыл бұрын
The password inside database, is it hashed?
@srai2154
@srai2154 2 жыл бұрын
This video has helped me a lot , thanks you .. but please try to cover all points in the next video..
@sawastacks
@sawastacks 2 жыл бұрын
I will try my best
@shardulbhot5970
@shardulbhot5970 3 жыл бұрын
When i stry to signup , i get this error CodeIgniter\Database\Exceptions\DataException Allowed fields must be specified for model: App\Models\UsersModel
@footbool755
@footbool755 2 жыл бұрын
a question do the filters replace the cookies, or how do they integrate them?
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@dedysupratman573
@dedysupratman573 3 жыл бұрын
I follow ur tutorial but i change part validation when input name... I add alpha_space so when somebody try try input except alphabet and space it'll be fail
@KissMidnie
@KissMidnie 2 жыл бұрын
Dear Sir, localhost shows validation errors, but server shows validations error () Call to undefined function display_error().
@alvisedwald
@alvisedwald 2 жыл бұрын
Check if your form.php has the same letter cases as those of the word form in your constructor function in the auth controller. I have ever faced that because one of my form_helper.php files was capital F and yet i wrote it with small f in the auth.php controller
@meghadobariya6210
@meghadobariya6210 3 жыл бұрын
it's really useful for me thanks to making this type of video
@sawastacks
@sawastacks 3 жыл бұрын
Thank you so much Megha
@hassannasir1222
@hassannasir1222 Жыл бұрын
you are good coder i am learning laravel just for you today i can learn codeigniter but i have Question in my mind please tell me in this video you are implement the login Auth so i can follow this video but i can not understand how to avoid sql injection
@alexis0804
@alexis0804 Жыл бұрын
The link to the source code isn't working.
@sawastacks
@sawastacks Жыл бұрын
Try this: ko-fi.com/s/56da556f2c
@redrichvillaluz6865
@redrichvillaluz6865 3 жыл бұрын
what version of bootstrap?
@sawastacks
@sawastacks 3 жыл бұрын
Bootstrap version 3
@cristianrian1306
@cristianrian1306 2 жыл бұрын
The best tutorial ever!! Thank you so much!
@sawastacks
@sawastacks 2 жыл бұрын
Thank you
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@phonesj3422
@phonesj3422 2 жыл бұрын
3:51 when i go to localhost:8080/auth i got "404 - File Not Found Can't find a route for 'get: auth'." where should i fix?
@crazycodes
@crazycodes 3 жыл бұрын
how to fix getMethod???in controller?
@a-short-dev
@a-short-dev 3 жыл бұрын
I’m having issues with the users model
@erickalfonsohernandezrubio8909
@erickalfonsohernandezrubio8909 3 жыл бұрын
Excuse me, how can I get the bootstrap folder?
@sawastacks
@sawastacks 3 жыл бұрын
github.com/twbs/bootstrap/releases/download/v4.0.0/bootstrap-4.0.0-dist.zip
@programmingexpress9302
@programmingexpress9302 Жыл бұрын
Must have register with Google and Facebook options.
@sawastacks
@sawastacks Жыл бұрын
I will make video for that👍
@arunkaundal9056
@arunkaundal9056 3 жыл бұрын
Hello Irebe user register successfully but user login is incorrect password. all code was same but user check password else condition not working
@batuhancakmak7241
@batuhancakmak7241 3 жыл бұрын
have you find a solution to this problem, i have the same problem
@prajwalbhale6393
@prajwalbhale6393 3 жыл бұрын
same problem bro, have you find any solution
@prajwalbhale6393
@prajwalbhale6393 3 жыл бұрын
Hey its because of the limit we set to password column in users table, it should be 255(varchar(255)). as we are hashing the password and it is of 256 bit
@동그리-n6p
@동그리-n6p 2 жыл бұрын
The check method does not work for user passwords created without going through the make method in the Hash.php file. Check if the password has been encrypted
@jampoot42
@jampoot42 2 жыл бұрын
@@prajwalbhale6393 you saved me bro..searching for this solution for a while..thanks to you
@azamtamboli3186
@azamtamboli3186 2 жыл бұрын
Can you make a video for cookie management/ lifecycle in CI4 please.
@gopalsrinivas753
@gopalsrinivas753 3 жыл бұрын
how to use ajax,jquery and json in codeigniter 4 please any suggestions
@sawastacks
@sawastacks 3 жыл бұрын
Nice idea. Soon I will make a videos about that
@dr_mikayelyan
@dr_mikayelyan 2 жыл бұрын
Hello, I need this script. Could you share it?
@EmersonCabrera
@EmersonCabrera 2 жыл бұрын
This video is amazing! Very useful, thank you for sharing!
@sawastacks
@sawastacks 2 жыл бұрын
Glad you enjoyed it!
@JoeSmith-wu3yz
@JoeSmith-wu3yz 3 жыл бұрын
Please, i have this error "Call to undefined function display_error()", I don't understand where the function is declared, thanks for your help. The error points to this line :
@sawastacks
@sawastacks 3 жыл бұрын
Just watch this video from here: kzbin.info/www/bejne/rHyplKOHpJKbY7M
@JoeSmith-wu3yz
@JoeSmith-wu3yz 3 жыл бұрын
@@sawastacks Thank's ;)
@JoeSmith-wu3yz
@JoeSmith-wu3yz 3 жыл бұрын
@@sawastacks i do everything that is explain and nothing changed, the problèm is that i have an undefined function display_error() (Error located within view/auth/register.php). Sorry, my english is so bad
@JoeSmith-wu3yz
@JoeSmith-wu3yz 3 жыл бұрын
@@sawastacks It's works ! ;)
@tituskoech5070
@tituskoech5070 3 жыл бұрын
@@JoeSmith-wu3yz what did you do to make it work? am still stuck
@udinulis
@udinulis 3 жыл бұрын
thanks a lot man, i can't wait for the next tutorials
@sawastacks
@sawastacks 3 жыл бұрын
Thanks
@travelersmove1099
@travelersmove1099 2 жыл бұрын
Hi, explained nice. I have a question. Is mandatory to create routes for every controller's method.
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@wbtopg
@wbtopg 3 жыл бұрын
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. please help me
@sawastacks
@sawastacks 3 жыл бұрын
what is this "cmdlet"? If you want to run codeigniter 4, you have to open cmd in project root directory then run 'php spark serve'
@wbtopg
@wbtopg 3 жыл бұрын
@@sawastacks thanks a lot . Appreciated
@aldrinjohnencina6153
@aldrinjohnencina6153 Жыл бұрын
I've got this error.(404 - File Not Found Can't find a route for 'get: auth| ) but I fix it already. I go to route.php file and uncomment this and changes to true -->routes->setAutoRoute(true); and it works.. thank you
@sawastacks
@sawastacks Жыл бұрын
Woww👍. Thank you so much🙏
@sawastacks
@sawastacks Жыл бұрын
Woww👍. Thank you so much🙏
@sombrakey
@sombrakey 3 жыл бұрын
Hello, how to remove the public from the url?
@erwinfr870
@erwinfr870 3 жыл бұрын
Class 'App\Libaries\Hash' not found how to fix it?
@sawastacks
@sawastacks 3 жыл бұрын
'App\Libraries\Hash'
@erwinfr870
@erwinfr870 3 жыл бұрын
@@sawastacks i've filled in auth controller
@erwinfr870
@erwinfr870 3 жыл бұрын
@@sawastacks please give me syntax or something to fix it
@JoeSmith-wu3yz
@JoeSmith-wu3yz 3 жыл бұрын
@@erwinfr870 Don't forget 'r' => Libraries is not Libaries
@constantineenriquez9626
@constantineenriquez9626 2 жыл бұрын
On $userInfo = $userModel->find($loggedUserID) I got Error Call to a member function getFirstRow() on bool any ideas? what could be causing this?
@MarcioNemec
@MarcioNemec 3 жыл бұрын
Awesome tutorial. Very useful! Thank you!
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@er1292
@er1292 3 жыл бұрын
What if email is available in the database.
@hirenmodi5108
@hirenmodi5108 2 жыл бұрын
plese, can u edit this video bifurcate by chapter??
@hirenmodi5108
@hirenmodi5108 2 жыл бұрын
good video
@sharjeeljan
@sharjeeljan 3 жыл бұрын
Great tutorial! VERY informative!! Thanks for your efforts!
@sawastacks
@sawastacks 3 жыл бұрын
Glad you enjoyed it!
@aderemiojediran9120
@aderemiojediran9120 2 жыл бұрын
Kudos to you for your effort ,am new to codeigniter,I tried to follow the syeps in the video,but at the point to insert I encounter this error "Call to a member function insert() on null" in the auth controller kindly assist to resolve
@davidpaucar6223
@davidpaucar6223 3 жыл бұрын
Hi bro, how to do messages with SweetAlert ????
@skatetvful
@skatetvful 3 жыл бұрын
Ajax, or Just verify session and put script tag in your verification. I'm BR but i can help u. Do you have whatsapp?
@leonidaslendesmanirakiza489
@leonidaslendesmanirakiza489 2 жыл бұрын
Thank you a lot. Very Well explained and very helpful
@sawastacks
@sawastacks 2 жыл бұрын
Glad it was helpful!
@Xyz-pp6lu
@Xyz-pp6lu 3 жыл бұрын
How come he doesn't use routes.php?
@ricoariyanto2604
@ricoariyanto2604 2 жыл бұрын
Very Useful, I subscribe from Indonesia
@sawastacks
@sawastacks 2 жыл бұрын
Thank you
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@dimasyogap6064
@dimasyogap6064 3 жыл бұрын
can you make a tutorial to make admin and user in apps
@hectorvalencia4553
@hectorvalencia4553 3 жыл бұрын
I really like this tutorial. Thanks!
@sawastacks
@sawastacks 3 жыл бұрын
Glad it was helpful!
@MayankSinghParmar
@MayankSinghParmar Жыл бұрын
Great video. all thing explained well
@sawastacks
@sawastacks Жыл бұрын
Thank you🙏
@josemanuelmartinellreynald5785
@josemanuelmartinellreynald5785 3 жыл бұрын
Saludos desde Cuba. No te canses nunca.
@lorencelawigan
@lorencelawigan 3 жыл бұрын
It's so easy to follow. Thank you
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@tagzimillion
@tagzimillion 3 жыл бұрын
thanks man you help me alot! cheers!
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@sistechsagar
@sistechsagar 7 ай бұрын
routes?
@avvishwakarma4443
@avvishwakarma4443 3 жыл бұрын
Hello i need help
@hemalidivecha6687
@hemalidivecha6687 7 ай бұрын
not able to hear audio
@jumpergaming301
@jumpergaming301 2 жыл бұрын
I LIKE YOUR TUTORIAL,DO YOU HAVE MULTI LEVEL LOGIN SYSTEM USE CODEIGNITER 4 TUTORIAL?
@sawastacks
@sawastacks 2 жыл бұрын
Not yet
@josbexerr5166
@josbexerr5166 3 жыл бұрын
Excelente....gracias saludos de los andes peruanos
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@programmingexpress9302
@programmingexpress9302 Жыл бұрын
Must have forget password so that if someone forget can get their account back.
@sigitardianto5142
@sigitardianto5142 3 жыл бұрын
what a great tutorial, thanks a lot sir!
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@azuraxxv
@azuraxxv 3 жыл бұрын
Best tutorial on KZbin :)
@sawastacks
@sawastacks 3 жыл бұрын
Glad it helped!
@yokeshraja1612
@yokeshraja1612 2 жыл бұрын
you didn't mention routes sir please mention
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@rafaelpinheiro
@rafaelpinheiro 3 жыл бұрын
Very good content. Thanks for share!!!
@sawastacks
@sawastacks 3 жыл бұрын
Thanks for watching!
@ziziyokomo1195
@ziziyokomo1195 3 жыл бұрын
There is no env file... O.o
@cristian-paraschiv
@cristian-paraschiv Жыл бұрын
Great tutorial, thank you!
@aruproy698
@aruproy698 2 жыл бұрын
make more video on CI4
@sawastacks
@sawastacks 2 жыл бұрын
Yeah. next year i will focus on CodeIgniter more than Laravel.
@aruproy698
@aruproy698 2 жыл бұрын
@@sawastacks thank you and i am very much excited for your upcoming videos.
@leonidaslendesmanirakiza489
@leonidaslendesmanirakiza489 2 жыл бұрын
But You have to let source code
@jayantsingh5204
@jayantsingh5204 3 жыл бұрын
please add more video
@meigiyanto3633
@meigiyanto3633 3 жыл бұрын
Please create feature reset password for codeigniter 4
@sawastacks
@sawastacks 3 жыл бұрын
Yeah, I will make that video soon
@meigiyanto3633
@meigiyanto3633 3 жыл бұрын
@@sawastacks thank you for your attention
@wandibudiwan1670
@wandibudiwan1670 3 жыл бұрын
nice, I like this tutorial
@sawastacks
@sawastacks 3 жыл бұрын
Glad you like it!
@dhawalparmar7117
@dhawalparmar7117 3 жыл бұрын
Excellent tutorial
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@vasanthkumarg5185
@vasanthkumarg5185 2 жыл бұрын
Nice. could you share your code?
@vinitkumar9687
@vinitkumar9687 2 жыл бұрын
Wow awesome tutorial, can you share code
@lucasmenchon8187
@lucasmenchon8187 2 жыл бұрын
thank you sooooooooooooooooooooooooo muuuuuuuuuuuuuuuuuuuuuuuuuuch
@sawastacks
@sawastacks 2 жыл бұрын
thanks
@yogapangestu9249
@yogapangestu9249 2 жыл бұрын
THANK YOU!!!
@sawastacks
@sawastacks 2 жыл бұрын
Thank you too
@gamingandinfopoint6679
@gamingandinfopoint6679 2 жыл бұрын
Hey can u please give me code of this file ?
@karthikinnovator9872
@karthikinnovator9872 3 жыл бұрын
ThnX ... It's helpful
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@liampugh4705
@liampugh4705 3 жыл бұрын
Very informative
@aguskurniawan6052
@aguskurniawan6052 3 жыл бұрын
terima kasih
@sawastacks
@sawastacks 3 жыл бұрын
Thank you
@ihsangul115
@ihsangul115 2 жыл бұрын
Best tutorial
@johntorrsaragih5588
@johntorrsaragih5588 2 жыл бұрын
Good tutorial
@sawastacks
@sawastacks 2 жыл бұрын
Thank you! Cheers!
@NaruthepJerngLanna
@NaruthepJerngLanna 3 жыл бұрын
thx ขอบคุณครับ
@nj4424
@nj4424 2 жыл бұрын
thanks
@anilbari3525
@anilbari3525 2 жыл бұрын
great
@jampoot42
@jampoot42 2 жыл бұрын
hi. i have a problem with mylogin. i cant find the problem. i followed all the code.i can register though
@listentomusic730
@listentomusic730 2 жыл бұрын
Great tutorial. loved it !
@sawastacks
@sawastacks 2 жыл бұрын
Thanks for watching my video
How to Integrate Admin Dashboard Template In Codeigniter 4 Project
19:07
CodeIgniter 4 and PHP MVC basics: controllers, views and layouts
24:50
Dave Hollingworth
Рет қаралды 41 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
CodeIgniter 4 User Login Tutorial - Part 2 - User Registration
28:54
How to deeply understand Angular signals (...or anything)
10:51
Joshua Morony
Рет қаралды 10 М.
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 36 МЛН
Codeigniter 4 Api Authentication using Shield
22:55
Codex Time
Рет қаралды 8 М.
CodeIgniter 4 User Login Tutorial - Part 1 - Project Setup & HTML
30:13
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Creating an Admin Area in CodeIgniter 4.1
9:31
IgnitedCode
Рет қаралды 9 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН