PHP Function Get Currect URL both Xampp AND Web Host

How to Reliably and Consisteny Get the Current Full Absolute URL that Works BOTH in Xampp AND a Live Web Server

Home Short:

If you need the server/document path to the current page reliably in both xampp and a web server, its a bit simpler ...

S
H
A
R
E