Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header ('Content-type: text/plain');
- //$_SERVER is the superglobal holing all key-value pairs
- //Print key and value pair foreach SERVER superglobal
- foreach ($_SERVER as $key=>$val )
- {
- //print "new row" + key + ": " + value + "new row"
- echo "\n".$key.": " .$val."\n";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement