Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Howto: view raw HTTP headers from request

Status
Not open for further replies.

defens

Programmer
Mar 10, 2005
2
NL
Hi all.

How do i view or iterate through all HTTP headers that the caller of my script has transmitted to me?

There are a few variables that i can consult, but i want the full "raw" header of the request.

Any help is much appreciated.

Kind regards,
Martin Beek
 
does the php function getallheaders() not work for you? it is only available when you run php as a server mod. it used only to work on apache but i believe other servers are now supported (but not iis).
 
also try the fopen("php://input method") method...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top