Тёмный

Codeigniter 4 Authentication Login and Registration Tutorial 

Unitrai
Подписаться 1,4 тыс.
Просмотров 27 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@UTorial
@UTorial Год назад
38:22 Wonderful video, but please make a video on CodeIgniter 4 Shield Authentication.
@unitrai
@unitrai Год назад
Thanks! will surely try to make video on shield asap.
@UTorial
@UTorial Год назад
@@unitrai Thanks a bunch for your response. Will be grateful if you could post that video ASAP. Thanks again sir.
@santutunga4369
@santutunga4369 Год назад
i think this is the best tutorial compare to others...
@unitrai
@unitrai Год назад
Glad it helped! Thanks for your time
@skpdstudychannel6872
@skpdstudychannel6872 Год назад
Very helpful video. Thank u sir.
@unitrai
@unitrai Год назад
Glad it helped!
@sameradnan8674
@sameradnan8674 Год назад
Hello, I have question please, in 47:27 you use session_destroy in login/logout controller how suppose to return "session("user")->id" !! it gives me "Attempt to read property "id" on null"
@unitrai
@unitrai Год назад
You can use isset() function to check the property, that will remove the error.
@fitNdedicated
@fitNdedicated Год назад
If (password_verify($password, $result->password)) in this line at password it become red underlined and with that error agar m run krta hu to brouser pe kehta h attempt to read propeerty on id null
@unitrai
@unitrai Год назад
Error can be somewhere else... Please double check your code.
@aliaslam9673
@aliaslam9673 Год назад
very helpful video. plz make a video with validation
@unitrai
@unitrai Год назад
Glad it helped! Sure we'll make next video with validation.
@randomshortsforyou
@randomshortsforyou Год назад
best tutorial so far
@unitrai
@unitrai Год назад
Thanks
@SergeChristianMvogoMange-bo7ps
@SergeChristianMvogoMange-bo7ps 7 месяцев назад
Bonjour, Je ne coprends pas la langue, vous ne savez pas faire la même video en francais s'il vous plait? Merci.
@unitrai
@unitrai 7 месяцев назад
Bonjour, merci pour votre commentaire. Je suis désolé, je ne connais pas le français, j'essaie de trouver un moyen de faire ça en français.
@SergeChristianMvogoMange-bo7ps
@SergeChristianMvogoMange-bo7ps 7 месяцев назад
@@unitrai merci pour votre réponse, Je suis sur un projet web (devoir d'école puisque Je suis etudiant en bachelier informatique et j'avais choisi comme thème, construction d'une plate forme d'annonces pour la recherche d'emploi. Et la condition est que Je dois utiliser comme frame work codeigniter4. Et j'ai du mal à commencer. Cependant j'ai déjà crée la table utilisateur, et bien d'autres tables... et les cas d'utilisation sont entre autres: inscription, connection, authentification, deconnection, poster annonce, recherche annonce, commentaries, postuler, general utilisateur.... et j'ai commencé avec la construction de certains uses cases comme par exemple inscription en affichant le formulaire, puis se connecter, s'authentifier, se deconnecter et je n'arrive pas. À chaque fois j'ai le message de woops ou de 404, et Aussi je ne sais pas comment faire apparaitre les la page d'acceuil avec les liens qui doivent me diriger vers les autres pages salon leurs fonctionnalités...ça me donne des insomnies parce que je n'arrive à trouver une bonne video en français, et je trouve votre video interressante, c'est dommage pour moi que je ne comprends pas ce que vous dites. Si jamais vous reussissez à la traduire en français, n'hesitez pas à m'avertir.
@mariapessoa-s1y
@mariapessoa-s1y Год назад
i'm having troubles with the session, like the error "undefined property $session ", what should i do???
@unitrai
@unitrai Год назад
Please make sure you have this line $this->session = \Config\Services::session(); within initController() function of BaseController.php controller file
@mariapessoa-s1y
@mariapessoa-s1y Год назад
i did it! the problem is exactly at that line, at the base controller, idk why, everytime i remove the comment at that line, that error appears....@@unitrai
@aruproy698
@aruproy698 Год назад
please make more video on codeigniter 4 like some project
@unitrai
@unitrai Год назад
Sure, we'll be making more videos like this. Please stay connected.
@anushazz
@anushazz 11 месяцев назад
Attempt to read property "id" on null . how to fix it ?
@unitrai
@unitrai 11 месяцев назад
Seems object which hold 'id' property has not initialized properly. Please check that
@akankshapatil1049
@akankshapatil1049 3 месяца назад
Same problem
@nooruzzaman_world
@nooruzzaman_world Год назад
i think this is not core php tutorial. you should use Codeigniter 4 encrypt function to encrypt password. if alreayd have option in CI 4 then why using core php password encrypt function.
@unitrai
@unitrai 11 месяцев назад
Because we can decrypt, what is encrypted and thus passwords should be hashed not encrypted for security reasons.
@aruproy698
@aruproy698 Год назад
Print_r ($result); Data not showing any solution please?
@unitrai
@unitrai Год назад
Make sure your database is connected (database config is correct) Make sure you are choosing the right table using builder Make sure the methods of builder are properly chained.
@aruproy698
@aruproy698 Год назад
@@unitrai data is inserted successfully but I am not able to login.... i stack in Print_r ($result); not able to display the data
@unitrai
@unitrai Год назад
@@aruproy698 I hope you don't have deleted_at column in your table and if you have that. That should be NULL
@jasveenkaur8458
@jasveenkaur8458 3 месяца назад
Sir cam you provide with a written code?
@unitrai
@unitrai 2 месяца назад
we'll try to provide the code in upcoming videos.
@MerlasPaul
@MerlasPaul 11 месяцев назад
where is the user name shown.. i want to see a username when he is logged in :))
@unitrai
@unitrai 11 месяцев назад
you can simply print the values from session or database based on current user in session.
@siddhantsinha6990
@siddhantsinha6990 7 месяцев назад
What about Form Validation???
@unitrai
@unitrai 6 месяцев назад
Form validation is not covered in this video to reduce the length of video.
@fitNdedicated
@fitNdedicated Год назад
sir yeh error de rha hai ' pls help
@unitrai
@unitrai Год назад
error?
@Hellmiauz
@Hellmiauz Год назад
What language is this on?
@unitrai
@unitrai Год назад
PHP based framework codeIgniter 4
@akankshapatil1049
@akankshapatil1049 3 месяца назад
Id is null errorr
@unitrai
@unitrai 2 месяца назад
you can try isset() function to avoid that, the tutorial was made in run time such mistakes are possible.
@akankshapatil1049
@akankshapatil1049 2 месяца назад
@@unitrai its done
@landerjadegultiano5306
@landerjadegultiano5306 5 месяцев назад
woking on version 4.4.6???
@unitrai
@unitrai 5 месяцев назад
this solution should work on all versions.
@creativepramodh
@creativepramodh Год назад
where is the model
@unitrai
@unitrai Год назад
model ?
@bossarts2435
@bossarts2435 Год назад
@@unitrai UserModel __ show the code in usermodel
@prasaddeore3048
@prasaddeore3048 9 месяцев назад
Hi sir we have one query can you give your contact?
@unitrai
@unitrai 9 месяцев назад
Please ask your query in comment. Thanks
Далее
ИСТОРИЯ ПРО ШТАНЫ #shorts
00:32
Просмотров 155 тыс.
Login and Registration system by using CodeIgniter
36:19