Reply to Re: Logins no longer working - $PHP_AUTH_USER and $PHP_AUTH_PW problem?

Your name:

Reply:


Posted by NC on 02/25/06 21:35

LAshooter wrote:
>
> 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.

Most likely, this has nothing to do with register_globals. Check the
phpinfo() output under "Server API" or get the value returned by
php_sapi_name(). If it is anything other than "Apache" (for example,
"CGI/FastCGI"), you can't use HTTP authentication on this server. HTTP
authentication is only available when PHP is configured as an Apache
module...

Cheers,
NC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация