Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php
  2. header ('Content-type: text/plain');
  3.  
  4. //$_SERVER is the superglobal holing all key-value pairs
  5. //Print key and value pair foreach SERVER superglobal
  6. foreach ($_SERVER as $key=>$val )
  7. {
  8. //print "new row" + key + ": " + value + "new row"
  9. echo "\n".$key.": " .$val."\n";
  10. }
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement