Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/mitarbeiter/sven/public_html/tmp/devcon_php_base/net/http/auth.php
dev/con php base - Network functions

/home/mitarbeiter/sven/public_html/tmp/devcon_php_base/net/http/auth.php::http_auth

HTTP password authentication

 

public module http_auth

HTTP password authentication

 

Public Method Summary

void

http_auth_logout([ string $realm ])

Send error 401.
void

http_auth(array $accounts, [ string $realm ])

Do HTTP authentication.

Public Method Details

http_auth_logout

public void http_auth_logout( [ string $realm ] )

  Send error 401.

Parameter
string $realm = >>'dev/con php base'<<
Returns void


http_auth

public void http_auth( array $accounts, [ string $realm ] )

  Do HTTP authentication.
This function stops program execution if authentication fails.

Parameter
array $accounts
Crypted passwords keyed by user name.
string $realm = >>'dev/con php base'<<
Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta