Results 1 to 3 of 3
Aug 22, 2001, 11:19 #1
Using PHP to retrieve absolute URL
This is probably easy, but I can't seem to find the answer at PHP.net. I need to have PHP determine the *absolute* URL of the current page, such as...
So $PHP_SELF won't work for this purpose. AND... it needs to reflect the URL of the *parent* document if the command (whatever it is) originates from an included file. (It should not list the URL of the included file).
Can anyone help? Thanks!