PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

virtual> <ebcdic2ascii
Last updated: Fri, 11 Apr 2008

view this page in

getallheaders

(PHP 4, PHP 5)

getallheaders — Odczytuje wszystkie nagłówki HTTP z aktualnego zapytania

Opis

array getallheaders ( void )

getallheaders() jest aliasem funkcji apache_request_headers(). Zwraca tablicę asocjacyjną wszystkich nagłówków HTTP wysłanych w aktualnym zapytaniu. Więcej na ten temat w dokumentacji funkcji apache_request_headers().

Informacja: W PHP 4.3.0 getallheaders() stała się aliasem funkcji apache_request_headers(). Dokładnie rzecz biorąc, nadano jej nową nazwę, zgodną z kanonem nazw PHP, ponieważ funkcja ta działa tylko wtedy, kiedy PHP jest skompilowane jako moduł Apache'a.

Informacja: Od PHP 4.3.3 możliwe jest użycie tej funkcji przy pracy w trybie modułu NSAPI serwera także w serwerach Netscape/iPlanet/SunONE.

Patrz także: apache_request_headers().



add a note add a note User Contributed Notes
getallheaders
lorro at lorro dot hu
19-Apr-2005 03:25
Beware that RFC2616 (HTTP/1.1) defines header fields as case-insensitive entities. Therefore, array keys of getallheaders() should be converted first to lower- or uppercase and processed such.

virtual> <ebcdic2ascii
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites