code_junkie

How can I access the raw HTTP request data with PHP/apache?

Nov 11th, 2011
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. print_r($_SERVER);
  2.  
  3. foreach(getallheaders() as $key=>$value) {
  4. print $key.': '.$value."<br />";
  5. }
Add Comment
Please, Sign In to add comment