Before it was working (not really) but it was showing the "Thank you for using our mail form" page but now its not here's the code:
<title>IP Address Unban Request</title>
<center><h1>IP Address Unban Request</h1></center>
<center>
<html>
<body>
<?php
if (isset($_REQUEST['email@example.com']))
//if "email" is filled out, send email
{
//send email
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail( "someone@example.com", "Subject: $subject",
$message, "From: $email" );
echo "Thank you for using our mail form";
}
else
//if "email" is not filled out, display the form
{
echo "<form method='post' action='index.php'>
Name:<br> <input name='name' type='text' /><br /><br>
Email:<br> <input name='email' type='text' /><br /><br>
IP Address:<br> <input name='IP' type='text' /><br /><br>
Forum Username:<br> <input name='forum' type='test' /><br /> <br>
";
require_once('recaptchalib.php');
$publickey = "6LdCcgkAAAAAAFgVOB_ecmPX8gfhqSYmHhDhBxWm"; // you got this from the signup page
echo recaptcha_get_html($publickey);
echo "<input type='submit' />
</form>
";
}
?>
</body>
</html>
</center>