<!DOCTYPE html>
<head>
<title>Info</title>
<style type="text/css" media="screen">
body{
margin:0;
padding:0;
text-align:left;
}
.info {
width:80%;
height:200px;
overflow:auto;
margin:1em auto;
padding:1em;
background: #efefef;
border:1px solid silver;
}
h2 {
margin:1em;
text-align:center;
}
</style>
</head>
<body>
<h2>Current Directory Listing</h2>
<div class="info">
<?php
$ls = shell_exec ('ls -al .');
echo "<pre>$ls</pre>";
?>
</div>
<h2>Disk Usage</h2>
<div class="info">
<?php
$du = shell_exec ('du -hs ./*');
echo "<pre>$du</pre>";
?>
</div>
<h2>PHP Information</h2>
<div class="info">
<?php
phpinfo();
?>
</div>
</body>
</html>