note 28574 deleted from function.getallheaders by didou

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: jukkaho at mail dot student dot oulu dot fi 

----

This function really is useful. Although $_SERVER['HTTP_*']-variables seem to include all request headers, they are really only the most generally needed - not all of them.

One example that needs this functionality is Digest Authentication (http://www.ietf.org/rfc/rfc2617.txt). When implementing it in PHP script, you can't read client's "Authorization"-header without this function.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.