Re: Get Entire URL for Current Page
| From: | Maxim Maletsky | Date: | Tue, 05 Nov 2002 18:01:01 +0000 |
| Subject: | Re: Get Entire URL for Current Page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122811@lists.php.net to get a copy of this message | ||
print $_SERVER['REQUEST_URI'];
--
Maxim Maletsky
maxim@php.net
"Phillip Erskine" <pverskine@hotmail.com> 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
>
> _________________________________________________________________
> Choose an Internet access plan right for you -- try MSN!
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>