+91-943-185-6038 me@shashidharkumar.com
Get Current URL

Get Current URL

The PHP super global $_SERVER contains all the information you need to access various information about the URL and can even carry variables. Often you need to get the full URL of the page you are on and this requires piecing together several of the $_SERVER variables...