include("database.php") ?>
include("header.php") ?>
if ($action == "add")
{
$id = time();
$password = substr($id*3,-5,5);
mysql_query("INSERT INTO $Members VALUES('$id','$title','$url','$email','$password','')");
$message = "Welcome to $TopListName!\n\n";
$message .= "Insert this HTML code into your homepage:\n\n";
$message .= "";
$message .= "\n\n";
$message .= "\n\nYours,\n$TopListName\n";
mail("$email", "Your HTML code for $TopListName", $message, "From: $TopListOwner\nReply-To: $TopListOwner\nX-Mailer: Xavier TopList http://xaviermedia.com/php/");
echo "Insert this HTML code into your homepage:
Note: For your site to been seen on this list, you must have atleast one vote.