The text you entered didn't match the image, please try again.
"; include('footer.php'); exit; } if (isset($_SESSION['key']) && isset($_COOKIE[session_name()])) { setcookie(session_name(), '', time()-36000, '/'); $_SESSION = array(); session_destroy(); } } else { echo "The text you entered didn't match the image, please try again.
"; include('footer.php'); exit; } } include_once('header.php'); if (!isset($_POST['submit']) || $_SERVER['REQUEST_METHOD'] != "POST") { echo "Accessing this page directly is not allowed.
\n\n"; include('footer.php'); exit; } $exploits = "/(content-type|bcc:|cc:|document.cookie|onclick|onload)/i"; foreach ($_POST as $key => $val) { $clean[$key] = cleanUp($val); if (filesize(SPAMWDS) > 0 && (checkTXTfile(SPAMWDS, $val, "spamword") === true)) { echo "Your application contains words in the spam list, that means you're not allowed to join at this time. \n
"; exit(include('footer.php')); } if (preg_match($exploits, $val)) { echo "No meta injection, please. \n
"; exit(include('footer.php')); } } if ((filesize(MEMBERS) > 0 && checkTXTfile(MEMBERS, breakEmail(strtolower($clean['email'])), "email") === true) || (filesize(NEWBIES) > 0 && checkTXTfile(NEWBIES, breakEmail(strtolower($clean['email'])), "email") === true)) { if (empty($clean['name']) || empty($clean['email'])) { echo "Name and e-mail are required fields. Please go back and try again.\n
"; exit(include('footer.php')); } elseif (!ereg("^[A-Za-z' -]",$clean['name']) || strlen($clean['name']) > 15) { echo "That name is not valid. Your name must contain letters only, and must be less than 15 characters. Please go back and try again.\n
"; exit(include('footer.php')); } elseif (!ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})$", strtolower($clean['email']))) { echo "Your old e-mail address is not valid. Please go back and try again.\n
"; exit(include('footer.php')); } elseif (!empty($clean['newemail']) && !ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})$", strtolower($clean['newemail']))) { echo "Your new e-mail address is not valid. Please go back and try again.\n
"; exit(include('footer.php')); } $subject = "Update member at $title"; $message = "A member at your $FLsubject fanlisting wants updating with following details: \n\n"; $message .= "Name: {$clean['name']} \n"; $message .= "Email: ".strtolower($clean['email'])." \n"; $message .= "New Email: {$clean['newemail']} \n"; $message .= "New URL: {$clean['newurl']} \n"; $message .= "Country: {$clean['country']} \n"; $message .= "Comments: {$clean['comments']} \n"; $message .= "IP: {$_SERVER['REMOTE_ADDR']} \n\n"; $message .= "Manage members: {$FLurl}/admin.php"; if (!strstr($_SERVER['SERVER_SOFTWARE'], "Win")) { $headers = "From: $admin_email \n"; $headers .= "Reply-To: $clean[email]"; } else { $headers = "From: $title <$admin_email> \n"; $headers .= "Reply-To: <$clean[email]>"; } if (mail($admin_email,$subject,$message,$headers)) { echo "Your updated information has been sent.
"; } else { echo "Your updated information could not be sent this time, please contact the fanlisting owner.
"; } } else { echo "You're not a member! Only current members can update their information.
\n"; include('footer.php'); exit; } break; default: require_once('prefs.php'); include_once('header.php'); ?>To update your details, fill in your information below. Please do not use this form to join; use the join form instead.
(Name, Old E-mail and Country are required fields.)