Re: [PHP] Re: Retrieve URL of website

2005-04-05 Thread Richard Lynch
var_dump($_SERVER); should provide you with sufficient info to piece together what you need. On Fri, April 1, 2005 9:36 pm, HarryG said: > Thanks guys. > > "HarryG" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Hi, > > I want to retrieve the complete url in my php script. How

[PHP] Re: Retrieve URL of website

2005-04-01 Thread HarryG
Thanks guys. "HarryG" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I want to retrieve the complete url in my php script. How can I do this? eg. www.mysite.com/mydirectory/mypage.php Result should either be www.mysite.com/mydirectory/mypage.php or /mydirectory/mypage.php Than