Re: Get Entire URL for Current Page
| From: | Jason Wong | Date: | Tue, 05 Nov 2002 17:34:33 +0000 |
| Subject: | Re: Get Entire URL for Current Page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122807@lists.php.net to get a copy of this message | ||
On Wednesday 06 November 2002 01:32, Phillip Erskine wrote:
> Is it possible to get the entire url of the current page? I am
> particularly interested in getting the "username:password" part.
>
> http://username:password@www.mysite.com/path/to/file.php
print_r($_SERVER);
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Your lover will never wish to leave you.
*/