vendredi 1 janvier 2021

How to get url value Passing From Laravel Route to php file?

I have an laravel application and also included an php file for a Payment Package,im Passing two url parameters from my laravel route to this Php File .How can i access the passed url parameters in this Php file.

Route::get('payumoneypayment/{courseid}/{userid}', function() {
    include_once(app_path() . '/payu/index.php');  
  });

The route passed from laravel is like this eg http://127.0.0.1:8000/payumoneypayment/1152/44 In my index.php file ,i tried using $userid = $_REQUEST['userid']; but im not getting the request value in php file



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3o3WFzK
via IFTTT

Aucun commentaire:

Enregistrer un commentaire