note 121487 deleted from reserved.variables.server by cmb

From: Date: Sun, 28 Jul 2019 08:05:57 +0000
Subject: note 121487 deleted from reserved.variables.server by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211719@lists.php.net to get a copy of this message
Note Submitter: bilgus at bilgus dot com ---- I liked pulling the names and values directly from the $_SERVER array better than naming all arguments <?php echo '<table cellpadding="10">' ; foreach($_SERVER as $paramName => $varServer) { if (isset($_SERVER[$paramName])) { ob_start(); var_dump($varServer); $varDump = ob_get_clean(); echo '<tr><td>'.$paramName.'</td><td>'.$varDump.'</td></tr>' ; } else { echo '<tr><td>'.$paramName.'</td><td>-</td></tr>' ; } } echo '</table>' ;

« previous php.notes (#211719) next »