You are here: Re: PHP and .htaccess « PHP Programming Language « IT news, forums, messages
Re: PHP and .htaccess

Posted by Charlie King on 09/25/26 11:37

On 12 Jan 2006 11:38:09 -0800, in
<1137094689.817396.152580@z14g2000cwz.googlegroups.com>
(comp.lang.php) "Al" <alexrussell101@gmail.com> wrote:

> Try $_SERVER['PHP_AUTH_USER'] maybe.
> And $_SERVER['PHP_AUTH_PW'] gets the password.
>
> See http://uk.php.net/manual/en/features.http-auth.php for full details.


It's worth noting that those will only retrieve .htaccess USER and PW
if PHP running as an Apache module, and not if it's running as CGI.
--
Charlie

 

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

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