客戶端瀏覽器資訊

echo "</p><pre>\n"; foreach ($_SERVER as $key => $value) { if (strpos($key, 'HTTP_') !== false) { echo htmlentities($key) . " = " . htmlentities($value) . "<br />\n"; } } echo "</pre>\n<p>";