I take it that there is a form on the other end of this script
if so then use this code:
<?php
if ($submit) {
$sendto = "$email_address";
$subject = "Welcome $webmaster_name to the $top_list_name.";
$message = "Thanks $webmaster_name for joining the $top_list_name.
Your site:
$site_name
$site_address
Don't forget these!
Site code: $date
Password: $password
$url_to_folder/list.php
Vote code:
<a href=\"$url_to_folder/in.php?site=$date\" target=_blank>
Please Vote At CelebritiesZones Top 50!</a>
Please note that you don't have to use the HTML code above. You can use textlinks, banners, buttons as well. If you
want to use exit or enter popups, please contact us first, otherwise, our software will mark you as cheating.
Regards
", "From: <$admin_email>"
mail("$sendto","$subject","$message","from: $from");
?>
This should work fine if you need to update a DB you could add the insert before the mail function. Good Luck 🙂