Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5488
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Marc Fenner <fenner.m@hotmail.com> |
| Newsgroups | comp.lang.php |
| Subject | Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently? |
| Date | Thu, 12 Apr 2012 16:31:33 +0200 |
| Lines | 15 |
| Message-ID | <9uo7a4FifdU1@mid.individual.net> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| X-Trace | individual.net +EWzpNy9bJEjE0H0JQ5OXA00uPhVWuU6MjH5xDDR7uQu8GKuMD |
| Cancel-Lock | sha1:LDQCIArDWs/g2oRg54Et7FrGiZM= |
| User-Agent | Web-News v.1.6.4 (by Terence Yim) |
| Xref | csiph.com comp.lang.php:5488 |
Show key headers only | View raw
Hi guys, I was working on an old script last night, which was partly written by a friend. It seems he used these variables: $_SERVER['PHP_AUTH_USER']) $_SERVER['PHP_AUTH_PW']) However, these variables used to be empty when running on PHP4, so I had to adapt the script a little which worked pretty fine. Moving to PHP5, I suddenly see values in these variables after performing the usual HTTP AUTH. It now seems I have to undo my adaptions to make the script work. Did they change anything about these variables from PHP4 to PHP5? I cannot find any good documentation on that change (as it appears to be).. Thank you for any ideas! Marc
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently? Marc Fenner <fenner.m@hotmail.com> - 2012-04-12 16:31 +0200 Re: Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently? Captain Paralytic <paul_lautman@yahoo.com> - 2012-04-12 07:56 -0700 Re: Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently? Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2012-04-12 18:36 +0200
csiph-web