Re: current url function
| From: | Marek Kilimajer | Date: | Tue, 16 Mar 2004 00:34:58 +0000 |
| Subject: | Re: current url function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180507@lists.php.net to get a copy of this message | ||
Luis Mirabal wrote:
hey! i am working in an open source development, and have done a function
that gives me the current url, but i need it to work always, everywhere, in
every server with all browsers, could you tell me if you think it will or if
you have any suggestions? here is the code:
/*
Returns the current URL
TODO: The function can not manage nor return user and pass in the URL if
present because it seems that you can not fetch them from PHP (or at least I
dont't know how to do it :P)
False, check http://sk2.php.net/manual/en/features.http-auth.php
TrueLIMITATIONS: fragment (after # sign) can not be fetched since it is aclient-side feature
*/