Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/install/step6.php
<?
	aff_header("PhpMyPrepaid Setup Wizard", "DataBase Configuration", 7);
                if (isset($passwd_error) && $passwd_error)
                        print "<center><b><span class=\"stop\">$passwd_error</span></b></center><br>";
                ?>
                <table cellpadding="0" cellspacing="0" border="0" width="80%" class="StyleDottedHr" align="center">
          <tr>
            <th align="left">Component</th>
            <th style="text-align: right;">Status</th>
          </tr>
                  <tr>
            <td><b>Root password for Mysql</b></td>
            <td align="right"><input type="password" name="pwdroot" value="<? if (isset($_SESSION["pwdroot"])) print $_SESSION["pwdroot"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>PhpMyPrepaid Database Name (phpmyprepaid)</b></td>
            <td align="right"><input type="text" name="namePraDB" value="<? if (isset($_SESSION["namePraDB"])) print $_SESSION["namePraDB"]; else print "phpmyprepaid"; ?>"></td>
          </tr>
                  <tr>
            <td><b>PhpMyPrepaid Database Password</b></td>
            <td align="right"><input type="password" name="pwdPraDB" value="<? if (isset($_SESSION["pwdPraDB"])) print $_SESSION["pwdPraDB"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Confirm Password</b></td>
            <td align="right"><input type="password" name="pwdPraDB2" value="<? if (isset($_SESSION["pwdPraDB2"])) print $_SESSION["pwdPraDB2"]; ?>"></td>
          </tr>
             <tr>
            <td><b>Database location (IP address or host)</b></td>
            <td align="right"><input type="text" name="dbLocation" value="<? if (isset($_SESSION["dbLocation"])) print $_SESSION["dbLocation"]; else print "localhost"; ?>"></td>
          </tr>
             <tr>
            <td><b>Database port </b></td>
            <td align="right"><input type="text" name="dbPort" value="<? if (isset($_SESSION["dbPort"])) print $_SESSION["dbPort"]; else print "3306"; ?>"></td>
          </tr>
                </table>
                <?
                aff_middle();
                $str = "<input class='button' type='submit' name='goto' value='Back' /><input class='button' type='submit' name='goto' value='Next' id='button_next' />";
                print $str;
                aff_footer();
?>
Return current item: phpMyPrepaid