(PHP 4 >= 4.3.0, PHP 5, PHP 7)
apache_response_headers — ���ȫ�� HTTP ��Ӧͷ��Ϣ
���ȫ�� HTTP ��Ӧͷ��Ϣ��
�ɹ�ʱ���ذ���ȫ�� Apache ��Ӧͷ��Ϣ�����飬 ������ʧ��ʱ���� FALSE.
| �汾 | ˵�� |
|---|---|
| 5.5.7 | �˺��������� CLI server. |
| 5.4.0 | �˺��������� FastCGI�� ��ǰ����PHP�� Apache ģ�鷽ʽ����ʱ֧�֡� |
| 4.3.3 |
�� PHP 4.3.3 ��Ҳ���� Netscape/iPlanet/SunONE Web �������� NSAPI ������ģ��ʹ�ô˺����� |
Example #1 apache_response_headers() ʾ��
<?php
print_r(apache_response_headers());
?>
�������̵���������ڣ�
Array
(
[Accept-Ranges] => bytes
[X-Powered-By] => PHP/4.3.8
)