Retrieve URL of website
| From: | HarryG | Date: | Sat, 02 Apr 2005 02:42:25 +0000 |
| Subject: | Retrieve URL of website | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212068@lists.php.net to get a copy of this message | ||
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