"Paul Burney" <[EMAIL PROTECTED]> wrote in message
> on 12/16/01 12:58 PM, Daniel Grace at [EMAIL PROTECTED] wrote:
> > Anyways, though the 401 part works and actually brings up the typical
> > Username/Password" box, $PHP_AUTH_USER and $PHP_AUTH_PW are not being
> > There are no .htaccess files in the directory (or any parent dirs for
> > matter), and no AuthType directives all in my httpd.conf file. I have
> > unsuccessful in determining what is wrong, and am flat out of ideas.
> My guess would be that register_globals is off.  If I recall correctly,
> $PHP_AUTH_USER and $PHP_AUTH_PW need register_globals on to work like you
> want them to.
> Check phpinfo() to see if another variable, maybe one in the new arrays,
> will give them to you.  If not, you can look for the Authorize Header and
> then manually parse out the User and PW information.
> Paul
> <?php
> /* Happy Holidays */
> mysql_select_db('North_Pole');
> mysql_query('SELECT reindeer FROM stable WHERE nose_color="red"');
> ?>

Bah, my test page displayed a phpinfo() and I never noticed this... For some

You were correct. $PHP_AUTH_USER and $PHP_AUTH_PW reside in _$SERVER under
PHP 4.1.0 (and thus presumably $HTTP_SERVER_VARS under PHP 4.0.6)

This means I can actually get back to making progress on my site...

-- Daniel Grace
Warning:  Undefined variable:  signature in email.php on line 35

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to