+<?php
+
+?>
<HTML>
<HEAD>
<TITLE>bdsm at monitor.slightlycyberpunk.com</TITLE>
<BODY>
<?php print_r($_POST); ?>
<div id="vmenu">
+ <a href="https://www.slightlycyberpunk.com/"><img src="bdsm.png" /></a>
<a href="index.php">Index</a>
<a href="index.php">Historical</a>
<a href="configure.php">Configuration</a>
foreach ($hosts as $host)
{
- echo "<form id='attributes' method='POST' ".
- "action='configure.php?host=".urlencode($host)."' />";
+ echo "<form id='attributes' method='POST' action='configure.php' />";
echo " <tr><th>$host</th>";
echo "<th><input type='submit' value='Update host' /></th></tr>";
$result = $db_handle->query("SELECT DISTINCT attribute FROM MEASUREMENTS WHERE host='$host'");