You are here: Re: http authentication with safe mode enabled?! « PHP « IT news, forums, messages
Re: http authentication with safe mode enabled?!

Posted by LacaK on 03/20/05 20:13

Hello Roman,
yes if safe_mode=on then
Authorization header is hidden from phpinfo() and apache_request_headers(),

but variables $_SERVER["PHP_AUTH_USER"] and "PHP_AUTH_PW"
are set , when Basic authorization is used ! (it works in my configuration
of Apache and PHP)

Problem may be in Apache . When directory (where requested file is) is
protected by Apache authentication, then $_SERVER variables are not set.

 

Navigation:

[Reply to this 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

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