Submitter's address: ".addslashes(strip_tags($_POST['form_address']))."
Submitter's name: ".addslashes(strip_tags($_POST['form_name']))."
IP: ".addslashes(strip_tags($_POST['ip']))."
Message:
".addslashes(strip_tags($_POST['form_message']))." "; $subject="Message from Twittodon.com ".date('d-m-Y H:i'); $header = "MIME-Version: 1.0r\n"."Content-type: text/html; charset=utf-8\n"; $header .= "From: ".addslashes(strip_tags($_POST['form_address']))."\n"; $address = "contact@twittodon.com"; mail($address, $subject, $message, $header); $alert = 2; } } else { $alert = 3; } } else { $alert = 4; } } if($_SERVER['HTTP_CLIENT_IP']) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif($_SERVER['HTTP_X_FORWARDED_FOR']) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } mysqli_close($mysqli); //Change language $full_url = "https://pl.twittodon.com".$_SERVER['REQUEST_URI']; ?> Contact form - Twittodon.com - Connect your Twitter and Mastodon accounts and verify it!

Message not sent. Invalid CAPTCHA."; } elseif($alert==2) { echo "

Message sent.

"; exit; } elseif($alert==3) { echo "

The message has not been sent. An invalid email address was provided.

"; } elseif($alert==4) { echo "

The message has not been sent. All fields must be filled.

"; } ?>
"; ?> size="30">
size="30">

Captcha