Sabtu, 25 Februari 2012

PHP - Server Variables

Description: This PHP script will show information about your server environment for PHP using $_SERVER variable.

* PHP Server and Execution Environment Information
* Special Thanks to Myrddin and Jeffwk.
echo '<h1>
<div align="center">
Server And Execution Environment Information</div>
echo '<table align="center" border="3">';
foreach ($_SERVER as $key => $value) {
 if (!$value) {
  $value = '-';
 echo '<tbody><tr>';
 echo '<td>'.$key.'</td>'.'<td>'.$value.'</td>';
 echo '</tr>';
echo '</tbody></table>';

Artikel Terkait

Tidak ada komentar:

Posting Komentar

Related Posts Plugin for WordPress, Blogger...