Posted By

kidmizere on 02/12/14


Tagged

server


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bcmoney


PHP Print all server Variables


 / Published in: PHP
 

Prints all $_Server variables to table

  1. print"<table border=1>";
  2. foreach ($_SERVER as $key=>$val ){
  3. if ($key <> "HTTP_COOKIE" && $key <> "PATH"){
  4. echo "<tr><td>".$key."</td><td>" .$val."</tr>";
  5. }
  6. }
  7. print"</table>";

Report this snippet  

You need to login to post a comment.