code_junkie

PHP apache_request_headers() diagrees with reality (as confirmed by Firebug): why?

Nov 12th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. 'Host' => string 'peterh.labs.example.com' (length=26)
  2. 'User-Agent' => string 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3' (length=105)
  3. 'Accept' => string 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' (length=63)
  4. 'Accept-Language' => string 'en-gb,en;q=0.5' (length=14)
  5. 'Accept-Encoding' => string 'gzip,deflate' (length=12)
  6. 'Accept-Charset' => string 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' (length=30)
  7. 'Keep-Alive' => string '300' (length=3)
  8. 'Connection' => string 'keep-alive' (length=10)
  9. 'Referer' => string 'http://peterh.labs.example.com/qmail/' (length=40)
  10. 'Cookie' => string 'WORKFLOW_SESSION=55f9aff2051746851de453c1f776ad10745354f6' (length=57)
  11. 'Pragma' => string 'no-cache' (length=8)
  12. 'Cache-Control' => string 'no-cache' (length=8)
  13.  
  14. Request Headers:
  15. Host peterh.labs.example.com
  16. User-Agent Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3
  17. Accept text/html,application/xhtml+xml,application/xml;q=0.9,**;q=0.8
  18. Accept-Language en-gb,en;q=0.5
  19. Accept-Encoding gzip,deflate
  20. Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
  21. Keep-Alive 300
  22. Connection keep-alive
  23. X-Requested-With XMLHttpRequest
  24. Referer http://peterh.labs.example.com/qmail/
  25. Cookie WORKFLOW_SESSION=55f9aff2051746851de453c1f776ad10745354f6
Add Comment
Please, Sign In to add comment