# Top_List (c)2000, Blake McDonald (webmaster@dark-library.com)
#
# Top_List ver. 1.0
#
# get_password.php3
require("config.php3");
include($HEADER);
$file = file($site_log_file);
$total = count($file);
echo "
| $title_font_tag_before Get lost site password and ID $title_font_tag_after |
$master_font_before\n"
?>
Please enter your Email address
and you will be emailed
all your sites on the lists passwords and IDs.
|
";
if(!empty($email_address)){
for($i=0; $total > $i; $i++){
$split = explode("||", $file[$i]);
if($split[6] == $email_address){
/* KEY
$votes = $split[0]
$hits = $split[1]
$date = $split[2]
$site_name = $split[3]
$site_address = $split[4]
$password = $split[5]
$email_address = $split[6]
$webmaster_name = $split[7]
$site_description = $split[8]
$banner_address = $split[9]
$banner_width = $split[10]
$banner_height = $split[11]
*/
// sends out email
mail("$email_address", "$webmaster_name info on the $top_list_name", "$split[7],
This is your site information for your site on the $top_list_name.
Your site:
$split[3]
$split[4]
Don't forget these!
Site code: $split[2]
Password: $split[5]
$url_to_folder/list.php3
Vote image code:
", "From: <$admin_email>");
$found_pass = 1;
}
}
if($found_pass == 1){ echo "Site found and information has been sent!"; } else
{ echo "No site with that Email address has been found!"; }
}
include($FOOTER);
?>