|
|
Posted by LAshooter on 02/25/06 06:14
I have a site that is no longer working since moving to a new server. It
looks like globals are not on, which is apparently needed on this particular
site. I have an authorization script that starts as below, but keeps
continually asking people to log in over and over again, even after they (or
I) enter a valid username/password from the mySQL database. This WAS working
just fine on my old server, which had globals ON. Without having globals,
how can I make this work???
Thanks,
Wm
$auth = false; // Assume user is not authenticated
if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW)) {
// Connect to MySQL
etc...
[Back to original message]
|