How can I retrieve the HTTP Response Headers using iPlanet or a
independent SAPI function?
For example, supose there is a function called response_header()
If I write a script like this:
<?
header("TEST_HEADER: TEST_VALUE");
var_dump(response_header());
?>
I would like to have a result like this:
array(2) {
["X-Powered-By"]=>
string(12) "PHP/4.0.3pl1"
["TEST_HEADER"]=>
string(10) "TEST_VALUE"
}
Novello
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]