I’d would like to ask an easy and fast question because I’ve been searching for 2 days now and can’t find a solution.
If I have a form in the layout/main.php (login form), how and where can I process its data?
layout/main.php:
I mean, as you can see there is the attribute action="/prova/index.php/login" because I would like to capture an process the data in my LoginController, but I print POST ( print_r($_POST); ) and its empty.