faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

27 of 36 people (75%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I get at $HTTP_SERVER_VARS['PHP_AUTH_USER'] variable under Apache, PHP on WinXP?

Mar 19th, 2008 21:49
ha mo, Philip Olson, Kyle Brooks, Dave, Don Lausch,


Using HTTP Authentication is easy with PHP.  Read the manual on this 
very subject here:
  HTTP authentication with PHP:
  http://www.php.net/manual/en/features.http-auth.php
Listed are PHP_AUTH_USER and PHP_AUTH_PW, including examples.  You'll 
also notice times where using REMOTE_USER may be more appropriate than 
PHP_AUTH_USER (like when in safe_mode).
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com