Location: PHPKode > scripts > Amailer > amailer/setup.php
<form method="POST" action="mysql.php">
  <p align="center"><u><font size="6" face="Courier">Setup Amailer</font></u></p>
  <h1 align="center"><font face="Courier New" size="3">!!!PLEASE REMEMBER TO 
  GIVE FULL PERMISSION TO <b><font color="#800000">MYSQLINFO.PHP</font> </b>
  BEFORE STARTING THIS SETUP!!!</font></h1>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <tr>
      <td width="100%"><hr></td>
    </tr>
  </table>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="99%" height="62">
    <tr>
      <td width="29%" height="18" valign="top">
      <h1></h1>
      </td>
      <td width="29%" height="18" valign="top">
      </td>
      <td width="44%" height="18" valign="top">
      <p align="right"><font face="Courier New"><font size="2">You have to fill 
      the fields with </font><font color="#800000" size="2">*<br>
&nbsp;</font></font></td>
    </tr>
    <tr>
      <td width="29%" height="18"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> My SQL Server:</font></font></td>
      <td width="29%" height="18">
      <input type="text" name="host" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0" value="localhost"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- The 
      Default is mostly <b>localhost</b></font></td>
    </tr>
    <tr>
      <td width="29%" height="18"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> My SQL Username:</font></font></td>
      <td width="29%" height="18">
      <input type="text" name="sqlusername" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- Enter your 
      MYSQL username</font></td>
    </tr>
    <tr>
      <td width="29%" height="15"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> My SQL Password:</font></font></td>
      <td width="29%" height="15">
      <input type="text" name="sqlpass" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="15"><font face="Courier New" size="2">- Enter your 
      MYSQL password</font></td>
    </tr>
    <tr>
      <td width="29%" height="18"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> My SQL Database:</font></font></td>
      <td width="29%" height="18">
      <input type="text" name="dname" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0" value="amailer"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- Enter the 
      database for amailer</font></td>
    </tr>
    <tr>
      <td width="29%" height="18"></td>
      <td width="29%" height="18"></td>
      <td width="44%" height="18"></td>
    </tr>
    <tr>
      <td width="29%" height="17"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> Web Masters Email:</font></font></td>
      <td width="29%" height="17">
      <input type="text" name="webmaster" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="17"><font face="Courier New" size="2">- Fill in 
      your email address</font></td>
    </tr>
    <tr>
      <td width="29%" height="16"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> Admin Username:</font></font></td>
      <td width="29%" height="16">
      <input type="text" name="adminusername" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="16"><font face="Courier New" size="2">- Fill in a 
      desire username</font></td>
    </tr>
    <tr>
      <td width="29%" height="18"><font face="Courier New">
      <font size="2" color="#800000">* </font><font size="2">Admin Password:</font></font></td>
      <td width="29%" height="18">
      <input type="text" name="adminpassword" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- Fill in a 
      desire password</font></td>
    </tr>
    <tr>
      <td width="29%" height="18"></td>
      <td width="29%" height="18"></td>
      <td width="44%" height="18"></td>
    </tr>
    <tr>
      <td width="29%" height="18"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> Copyright:</font></font></td>
      <td width="29%" height="18">
      <input type="text" name="copyleft" size="1" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0" value="1"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- Pleas 
      leave this 1, for copyright</font></td>
    </tr>
    <tr>
      <td width="29%" height="14" valign="top"><font face="Courier New">
      <font size="2" color="#800000">* </font><font size="2">Notify:</font></font></td>
      <td width="29%" height="14" valign="top">
      <input type="text" name="notify" size="1" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0" value="0"></td>
      <td width="44%" height="14"><font face="Courier New" size="2">- 1 = Notify 
      mails sent<br>
&nbsp; 0 = Do not notify when mails are <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sent</font></td>
    </tr>
    <tr>
      <td width="29%" height="18" valign="top"><font face="Courier New">
      <font size="2" color="#800000">* </font><font size="2">Log login:</font></font></td>
      <td width="29%" height="18" valign="top">
      <input type="text" name="loglogin" size="1" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0" value="0"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- 1 = log 
      any logins in the admin area<br>
&nbsp; 2 = Do not log any logins in admin<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; area</font></td>
    </tr>
    <tr>
      <td width="29%" height="18" valign="top"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> Log file:</font></font></td>
      <td width="29%" height="18" valign="top">
      <input type="text" name="logfile" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0" value="log.php"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- The 
      default file is LOG.PHP, LEAVE<br>
&nbsp; THIS AS IT IS!</font></td>
    </tr>
    <tr>
      <td width="29%" height="17"></td>
      <td width="29%" height="17"></td>
      <td width="44%" height="17"></td>
    </tr>
    <tr>
      <td width="29%" height="18" valign="top"><font face="Courier New" size="2">&nbsp; 
      Default HTML message:</font></td>
      <td width="29%" height="18" valign="top">
      <input type="text" name="message" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="18"><font face="Courier New" size="2">- The 
      default message to be sent by all <br>
&nbsp; emails, in HTML TEXT FORMAT</font></td>
    </tr>
    <tr>
      <td width="29%" height="16" valign="top"><font size="2" face="Courier New">&nbsp; 
      Default PLAIN message:</font></td>
      <td width="29%" height="16" valign="top">
      <input type="text" name="pmessage" size="32" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="16"><font face="Courier New" size="2">- The 
      default message to be sent by all <br>
&nbsp; emails, in PLAIN TEXT FORMAT</font></td>
    </tr>
    <tr>
      <td width="29%" height="18"></td>
      <td width="29%" height="18"></td>
      <td width="44%" height="18"></td>
    </tr>
    <tr>
      <td width="29%" height="16" valign="top"><font face="Courier New">
      <font size="2" color="#800000">* </font><font size="2">URL to AMAILER:</font></font></td>
      <td width="29%" height="16" valign="top">
      <input type="text" name="urls" size="42" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="16"><font face="Courier New" size="2">- The URL to 
      your amailer,<br>
&nbsp; <font color="#800000">Note: </font>include the / at the end!<br>
&nbsp; i.e. http://here.com/amailer/</font></td>
    </tr>
    <tr>
      <td width="29%" height="15" valign="top"><font face="Courier New">
      <font size="2" color="#800000">*</font><font size="2"> Path to AMAILER:</font></font></td>
      <td width="29%" height="15" valign="top">
      <input type="text" name="pathmailer" size="42" style="font-family: Verdana (serif); font-size: 8pt; color: #000000; border: 1px solid #C0C0C0; background-color: #C0C0C0"></td>
      <td width="44%" height="15"><font face="Courier New" size="2">- The path 
      to your amailer<br>
&nbsp; <font color="#800000">Note: </font>Make all back slashes Foward!<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NOT BACK SLASHES! AND NO / at<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the end!<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i.e. c:/whatever/amailer</font></td>
    </tr>
    <tr>
      <td width="102%" height="18" colspan="3"><hr>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
        <tr>
          <td width="29%">&nbsp;</td>
          <td width="71%">
      <input type="submit" value="Submit" name="B1" style="font-family: Courier New; font-size: 8pt; border: 1px solid #FFFFFF; background-color: #C0C0C0">
      <input type="reset" value="Reset" name="B2" style="font-family: Courier New; font-size: 8pt; border: 1px solid #FFFFFF; background-color: #C0C0C0"></td>
        </tr>
      </table>
      </td>
    </tr>
  </table>
</form>
Return current item: Amailer