Re: current url function
| From: | Marek Kilimajer | Date: | Tue, 16 Mar 2004 12:23:55 +0000 |
| Subject: | Re: current url function | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180532@lists.php.net to get a copy of this message | ||
Luis Mirabal wrote:
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?variables $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'], but it is not necessary anyways. the browser will remember credentials once they are set so it is useless to keep them in the url. and IE with the latest patch will ignore user:pass@ part.