In an application, sometimes we need to get the current page URL in php. I mean, the URL shown in the browser. Here is how you can do it.

First, we will declare and use the function as the following:

Hope you will like it :)

You may also read:  How to copy a list using list template in sharepoint?

Leave a Reply