Hi
Im using curl to request a page and I want to parse out the http header response
I've looked in the manual for a functio to help me out but with no luck, Ive seen some code to cleanly do this for me , but i can't remember where
does any body have any suggestions?
This is the format of the header
HTTP/1.1 200 OK Date: Thu, 14 Nov 2002 17:02:35 GMT Server: Apache/1.3.14 (Win32) Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache X-Powered-By: PHP/4.0.5 Set-Cookie: PHPSESSID=47195a83c9f801596312cfdfb788f758; path=/ Transfer-Encoding: chunked Content-Type: text/