I am new to laravel, and im trying to get redirect all incoming requests from /example
to exampleController@index
I am using this route
Route::match(['get', 'post'], '/example/{any}', ['uses' =>'exampleController@index'])->where('any', '.*');
Everything works fine with /example/any/any/any
, but I am getting No input file specified.
error when i try /example/any/any/any.php
Please help me to solve this problem. Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire