samedi 26 septembre 2020

Laravel - Can I add a route with .php extension in laravel project?

I am a beginner to laravel and I am facing a scenario where I need to add a .php extension file to get some data from another website and redirect it to another route. I tried using .php file and .php route i.e

Route::get('/postback.php' , 'UserController@offerwalls_postback')->name('postback_offerwalls');

but it is not working.

The route I want to access is www.domain_name.com/postback.php?data. I have tried numerous ways to do it but can't make it work. Is there anything that can be done? Any help would be appreciated. Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire