"get current url path in php " Code Answer

4

You want $_SERVER['REQUEST_URI']. From the docs:

'REQUEST_URI'

The URI which was given in order to access this page; for instance, '/index.html'.

By johnbranchy-2d73e6463b8a on November 10 2022

Answers related to “get current url path in php ”

Only authorized users can answer the search term. Please sign in first, or register a free account.