Location: PHPKode > projects > Spam free PHP GuestBook > Spam free PHP GuestBook-1.2beta/gb/admin/install/frminstall.php
<?php
/*
Copyright (c) 2008 http://ramui.com. All right reserved.
This product is protected by copyright and distributed under licenses restricting copying, distribution. Permission is granted to the public to download and use this script provided that this Notice and any statement of authorship are reproduced in every page on all copies of the script.
*/
?>
<table width="100%">
<?php
if (isset($installerr_heading)){
$str='<tr><td colspan="2" style="font-weight:600; padding: 0 0 0 5px; color:red;">';
$str.='<p align="center">'.$installerr_heading.'</p><p>'.$installerr_description.'</p></td></tr>';
echo $str;}
?>
<tr><td style="border-right: 1px solid #888888; padding-right:10px;">
<form action="index.php" method="post" name="frmInstall" id="frmInstall" onsubmit="return validateForm()">
<div class="caption"><b>Database Information:</b></div>
<table class="cell" style="margin: 20px 10px 10px 20px; border-collapse: collapse;">
<tr><td width="160px">Database name:</td><td><input class="text" style="width:180px;" type="text" name="dbname" size="20"></td></tr>
<tr><td width="160px">Database user name:</td><td><input class="text" style="width:180px;" type="text" name="dbuser" size="20"></td></tr>
<tr><td width="160px">Database password:</td><td><input class="text" style="width:180px;" type="password" name="dbpw" size="20"></td></tr>
<tr><td width="160px">*Database host name:</td><td><input class="text" style="width:180px;" type="text" name="dbhost" size="20" value="localhost"></td></tr>
<tr><td width="160px">*Table prefix:</td><td><input class="text" style="width:180px;" type="text" name="prefix" size="20" value="fw_"></td></tr>
</table>
<div class="caption"><b>User Information:</b></div>
<table class="cell" style="margin: 20px 10px 10px 20px; border-collapse: collapse;">
<tr><td width="160px">User name&nbsp;&nbsp;(5 to 10 ch):</td><td><input class="text" style="width:180px;" type="text" name="admin" size="20"></td></tr>
<tr><td width="160px">Password&nbsp;[&nbsp;<a href="javascript:generatePW()">Generate</a>&nbsp;]:</td><td><input class="text" style="width:180px;" type="text" name="password" size="20"></td></tr>
<tr><td>Email address:</td><td><input class="text" style="width:180px;" type="text" name="email" size="20"></td></tr>
</table>
<div style="text-align:center; clear:both;">
<input id="Reset" type="reset" class="button" value="Reset">&nbsp;<input name="Submit" type="submit" class="button" value="Submit"></div>
</form>
</td>
<td>
<div class="caption"><b> Important!</b></div>
<ul id="information"><li>Before installation set permission of the file "database/config.php" to "0644" or simply "644".</li>
<li>If you are not sure please accept default values</li>
<li>Use only alphanumeric characters in "User name"</li></ul>
</td></tr>
</table>
</div>
Return current item: Spam free PHP GuestBook