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:[EMAIL PROTECTED]/ and dumped globals, and there is nothing... any ideas?
"Marek Kilimajer" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > 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 > > > */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php