Posts Tagged "PHP Script"

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 to get the whole URL. Sometimes, you might want to get the current page URL that is shown in the browser URL window. For example if you want to let your visitors submit…

Read More