<?php
header('Content-Type: text/html');
echo "<html><body>";
echo "<h1>PHP Test</h1>";
echo "<p>PHP is " . (function_exists('mail') ? 'working' : 'not working') . "!</p>";
echo "<p>PHP Version: " . phpversion() . "</p>";
echo "<p>Server Software: " . $_SERVER['SERVER_SOFTWARE'] . "</p>";
echo "<pre>PHP Info:\n\n";
phpinfo();
echo "</pre>";
echo "</body></html>";
?>
