Re: current url function

From: Date: Tue, 16 Mar 2004 01:41:49 +0000
Subject: Re: current url function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-180508@lists.php.net to get a copy of this message
i checked http://sk2.php.net/manual/en/features.http-auth.php, but it doesnt shows how to see if i passed user:pass in the url. i try http://user:pass@localhost/ and dumped globals, and there is nothing... any ideas? "Marek Kilimajer" <kilimajer@webglobe.sk> escribió en el mensaje news:40564BB2.6090108@webglobe.sk... > 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 > > > LIMITATIONS: fragment (after # sign) can not be fetched since it is a > > client-side feature > > True > > > */

« previous php.general (#180508) next »