<?php
/*
* This is a php frontend for mod_log_sql. It interfaces
* with the table structure as defined in a MySql database and has been
* tested only with version 1.16 of mod_log_sql.
*
* contact hide@address.com
*
*/
?>
<form method=POST action="apache.php">
<select name="dbs" onchange="this.form.submit()">
<?php
while(list($key, $value)=each($validTables)){
if($value==$dbs){
print "<option value=$value selected=true>";
} else { print "<option value=$value>";}
print "$value</option>";
}
reset($validTables);
?>
</select><input type=image src="resources/images/go.gif" value="Go" name="go" border=0 /></form>