lundi 19 octobre 2020

get the address bar url instead of request url

I have the page test_page with the url http://domain.sd/test_page which is in the address bar. I have used the controller with url filter_details in the same page in ajax response. I want to get the address in the address bar. Now I can get only the ajax request url

 $url=\Request::getRequestUri();
   echo $url; // output: filter_details

How to get the address in the address bar



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire