Location: PHPKode > projects > WESPA PHP Newsletter > install/install1.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<title>WESPA PHP Newsletter Installer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="web site" />
<meta name="Description" content="new site" />
<meta name="author" content="elfin" />
<meta name="copyright" content="Copyright 2008 WESPA Digital. All rights reserved." />
<link href="css/install.css" rel="stylesheet" type="text/css" />
<h1>WESPA PHP Newsletter</h1>
<p>Manage your mailing lists easily.</p>

<form name="form1" method="post" action="install2.php">
<legend>Main configuration setup</legend>
are the main configurations which are required to get the
mailing list up and running advanced settings can be accessed
from the admin panel .</p>

<label for="cwebsite">Website URL ( including the root path ) :</label>
<input name="cwebsite" type="text" class="textboxgray" id="cwebsite" value="http://<?php echo $_SERVER['HTTP_HOST']; ?>/" size="50" /><br />
<label for="cpath">Path where mailist is stored :</label>
<input name="cpath" type="text" class="textboxgray" id="cpath" value="newsletter/" size="50" /><br />
<label for="cstring">Relative string ( for un/subscribing ) :</label>
<input name="cstring" type="text" class="textboxgray" id="cstring" value="index.php?page=mail&amp;" size="50" />
<legend>Administration setup</legend>
settings set the username and password which can be used
to change the various settings and properties of the mailing
list .</p>

<label for="cusername">Username</label>
<input name="cusername" type="text" class="textboxgray" id="cusername" value="admin" size="50" /><br />
<label for="cpassword">Password</label>
<input name="cpassword" type="text" class="textboxgray" id="cpassword" value="
/* taken from the mambo open source cms */
$salt = "abcdefghjkmnpqrstuvwxyz0123456789";
$i = 0;
while ($i <= 7) {
$num = rand() % 33;
$tmp = substr($salt, $num, 1);
$makepass = $makepass . $tmp;
echo $makepass;
?>" size="50" /><br />

<label for="cemail">Administator email </label>
<input name="cemail" type="text" class="textboxgray" id="cemail" value="hide@address.com" size="50" /><br />

<div class="next"><input type="submit" value="Next Stage" />

Return current item: WESPA PHP Newsletter