Laravel 8 tutorial in Hindi - What is middleware

preview_player
Показать описание
in this laravel 8 hindi video tutorial, how to apply validation on HTML form and show error message Laravel 8ther version. This video is made by anil Sidhu in the Hindi language
steps of video
What is Middleware
Middleware Type
Make Middleware
Apply Middleware
Interview Question
Laravel 9 tutorial in Hindi
Рекомендации по теме
Комментарии
Автор

I think you forgot to include this video into your laravel playlist
Thanx for sharing your knowledge 🙂

mirijazurrahaman
Автор

sir whenever I visit your channel I search laravel 8 tutorial in hindi playlist on your channel playlist but every time not found this
So, I have to search it on youtube's search bar, Please sir add this list to channel playlist so more and more student visit directly through you channel and access the series.

hemantsoni
Автор

middleware kyu use kare sir ya restriction wale kam tho ham controller par bhi kar sakta hai na?

TWNOGaming
Автор

A CSRF token is a secure random token (e.g., synchronizer token or challenge token) that is used to prevent CSRF attacks. The token needs to be unique per user session and should be of large random value to make it difficult to guess. A CSRF secure application assigns a unique CSRF token for every user session.

InspireHour
Автор

Yes, we use middleware in controller
Step 1: in controller you create constructor like and apply middleware :-
public function __construct()
{
// Assign to ALL methods in this Controller
$this->middleware('auth');

// Assign only to ONE method in this Controller


// Assign only to specific methods in this Controller
$this->middleware('auth')->only(['create', 'store']);

// Assign to all EXCEPT specific methods in this Controller

}

karanmakwana
Автор

You forgot to add this video to playlist of laravel

raodyc
Автор

How is your code not going into infinite loop?

As we added the checkAge middleware globally it should also check age for /noaccess route since there is no age passed to /noaccess router redirect in the middle it goes into a infinite loop in my code.

What's the solution to it and how your code works perfectly?

Thank you.

k.ashutoshbaitharu
Автор

Sir kindly make a video on reset password

mnuman
Автор

Route pe middleware ko use korke hum controller ke upor apply kor sakte hai.

nilanjanchakraborty
Автор

sir iska javab aphi batade...
ya to iske uper bhi ek video banadijiye
how to use middleware in controller

kaziovesh
Автор

China after watching this: mujhe kyu toda 🤣

k.ashutoshbaitharu
Автор

Sir react me middleware ki video he kya muje mil nhi rhi

sharadsharma
Автор

When check age Zero and blank. Welcome page show any solution???

vhoraaamir
Автор

if age is =18 or > 18 then how to redirect it to desired page for example i want to move user on form page ?

dev
Автор

the question you have ask please give the answer

sagarbehera
Автор

agar hum sirf
$request->age<10 ye condition daale
iski jagah =>$request->age && $request->age<10
to ye error aa rahi hai
This page isn’t working127.0.0.1 redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
please help me

VishalYadav-gukz
Автор

If it's not working for you, you need to write this way ?age=10

raodyc