Print PHP $_SERVER constant foreach( $_SERVER as $var => $value){ echo $var.' '.$value.''; };