Hi All,
Some help please....
Some time ago I wrote a PHP / SQL ensemble for work. When I moved jobs I backed up the code and databases, as you do.
Just set it up on a new machine, Mandrake 9.1, PHP 4.3.1, Apache 2.0.44 and MySQL 4.0.11A.
At first nothing worked :rolleyes: but much searching unearthed the 'globals' thing that changed to 'off' while I've been away.
Now everything is cool apart from the login section, which uses PHP_AUTH_USER. I've trawled the net for a couple of days and tried pretty much everything suggested but no joy. The code worked fine under the old version of PHP.
I've also tried several different examples of this type of code from on here, but they all behave the same way.
The login box appears, but no username / password combination does anything, and after three attempts it exits.
Basically isset never happens.
I guess it must be a change in the defaults for one of the components. Anyone have any ideas ?
Thanks in advance.
Iain