Re: use of undefined constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello again,

On Thu, 26 Oct 2006, Chris wrote:

You'll need to change:

$PHP_AUTH_USER to $_SERVER['PHP_AUTH_USER'] and $PHP_AUTH_PW to $_SERVER['PHP_AUTH_PW']

The former variables are ok before 4.2.0 (where register_globals was off by default I think) but now they have moved to the $_SERVER super-global.

Read http://www.php.net/manual/en/language.variables.predefined.php

Thanks a lot again! I am so thankful for your help! It did work. But I have a curious observation. I can only log in when I delete the password and just log in using my login. As soon as I write password with field type PASSWORD or OLD_PASSWORD I am not able to login. Delete the password, and I am back in the program. Now I guess I will need to talk to the person who wrote it for us a couple of years ago because I am not sure what is going on. Presumably as this was written for mysql 3.x something and php 4.0.x so I guess the code has lots of things which may now be incompatible.

But again - Chris huge thank you for your help!


--
Zbigniew Szalbot

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux