Commit 874c4b47 authored by 君塚 悠's avatar 君塚 悠

プログラム作成(list_header.php:ヘッダ情報の取得)

parent 06566f4b
<html>
<head>
<title>ヘッダ情報の取得</title>
</head>
</html>
<body>
<h1 style="background: #CCCCCC">ヘッダ情報の取得</h1>
<table border="0">
<?php
$aryHeader=array("HTTP_USER_AGENT",
"HTTP_ACEPT_LANGUAGE","HTTP_PEFERER");
foreach ($aryHeader as $name) {
?>
<rt>
<th style="color:#FFffFF;background:#0086b2;
width:80pt;">
<?php print($name) ?> </th>
<td><?php print($_SERVER[$name]); ?></td>
</rt>
<?php
}
?>
</table>
</form>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment