Location: PHPKode > scripts > Visitor Logger > input.txt
<?php

echo ("<h1>Setup</h1>\n<h3>Enter your MySQL details</h3>\n<form method=\"post\" action=\"".$VL_self."\">\n<table>");



if (!$VL_conn) echo ("

	<tr>
		<td align=\"right\">
			<b>Server:</b></td>
		<td align=\"left\">
			<input name=\"server\" type=\"text\" size=\"15\" maxlength=\"50\" value=\"".$VL_server."\"></td>
	</tr>

	<tr>
		<td align=\"right\">
			<b>Username:</b></td>
		<td align=\"left\">
			<input name=\"username\" type=\"text\" size=\"15\" maxlength=\"50\" value=\"".$VL_username."\"></td>
	</tr>

	<tr>
		<td align=\"right\">
			<b>Password:</b></td>
		<td align=\"left\">
			<input name=\"password\" type=\"text\" size=\"15\" maxlength=\"50\" value=\"".$VL_password."\"></td>
	</tr>

");

else echo ("
	<input name=\"server\" type=\"hidden\" value=\"".$VL_server."\">
	<input name=\"username\" type=\"hidden\" value=\"".$VL_username."\">
	<input name=\"password\" type=\"hidden\" value=\"".$VL_password."\">
");


if (!$VL_dbcon) echo ("

	<tr>
		<td align=\"right\">
			<b>Database Name:</b></td>
		<td align=\"left\">
			<input name=\"dbname\" type=\"text\" size=\"15\" maxlength=\"50\" value=\"".$VL_dbname."\"></td>
	</tr>

");

else echo ("<input name=\"dbname\" type=\"hidden\" value=\"".$VL_dbname."\">");

echo ("

	<tr>
		<td align=\"right\">
			<b>Table Name:</b></td>
		<td align=\"left\">
			<input name=\"table\" type=\"text\" size=\"15\" maxlength=\"50\" value=\"".$VL_table."\"></td>
	</tr>

	</table>

	<p><input type=\"submit\" value=\"Login to MySQL and create table\" title=\"Login to MySQL and create table\"></p>

	</form>
");



?>
Return current item: Visitor Logger