How to get only directory from URI
A URL with parameters is passed to the URI variable.
The protocol and domain may be https://example.com
or localhost:xxxxxx
.
In either case, the subsequent directory and file names are the same.
A URL with parameters is passed to the URI variable.
The protocol and domain may be https://example.com
or localhost:xxxxxx
.
In either case, the subsequent directory and file names are the same.