NYCPHP Meetup

NYPHP.org

[nycphp-talk] NEW PHundamentals Question - HTTP Authentication

csnyder chsnyder at gmail.com
Fri Oct 22 19:53:29 EDT 2004


Um, that should be Basic with a capital B, apparently. Zounds!

  header( 'WWW-Authenticate: Basic realm="Members Only" ' );
  header( 'HTTP/1.0 401 Unauthorized' );

Guess I should RTFM.



More information about the talk mailing list