Re: [PHP] Retrieve URL of website

2005-04-01 Thread Leif Gregory
Hello HarryG, Friday, April 1, 2005, 7:42:25 PM, you wrote: H> I want to retrieve the complete url in my php script. How can I do this? H> eg. www.mysite.com/mydirectory/mypage.php H> Result should either be www.mysite.com/mydirectory/mypage.php or /mydirectory/mypage.php If you mean on your own

Re: [PHP] Retrieve URL of website

2005-04-01 Thread Zareef Ahmed
HI, Look for $_SERVER['REQUEST_URI']; But Dear first you should search the documentation , it is very easy to notice if you can use phpinfo(); zareef ahmed On Apr 2, 2005 8:12 AM, HarryG <[EMAIL PROTECTED]> wrote: > Hi, > > I want to retrieve the complete url in my php script. How can I

[PHP] Retrieve URL of website

2005-04-01 Thread HarryG
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 Thanks in advance HarryG