basta usare print_r
Codice PHP:
<?php
echo "<pre>";
print_r($_SERVER)."\n";
echo 
"</pre>";
?>