MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb/b1705/absoluteresultstechnologies.net/public_html/hondawestupgrade.com/
File Upload :
Current < : /hermes/bosweb/b1705/absoluteresultstechnologies.net/public_html/hondawestupgrade.com/index.php

<?php
	session_start('upgrade');
?>
<?php include_once('mysqlUtils.php'); ?>
<?php
	if(isset($_POST['acode']))
	{
		//$sql = 'SELECT * FROM derrickupgrade WHERE prospect = "' . $_POST['acode'] . '"';
		//$re = mysql_query($sql);
		if(strtoupper($_POST['acode']) == "CRD44")
		{
			$_SESSION['upgrade']['user'] = array();
			header("location: form.php");
			exit;
		}
		else
		{
			$_SESSION['upgrade']['error'] = '* Invalid access code. Please try again.';
		}
	}
?>
<?php include_once('header.php'); ?>
<br>
<div style="font-size:12pt;">
<!--Please Enter the Access Code from the notice you are responding to in the box below.-->
Click below to register and receive a $400 savings voucher.
</div>
<br>
<center>
	<form method="POST">
		<table cellspacing="0" cellpadding="0" style="border:1px solid #aaaaaa;background-color:#eeeeee;width:300px;height:100px;color:#333333">
			<tr>
				<td>Access Code
					<br>
					<input type="text" name="acode" style="width:200px">
					<br><font style="color:red;font-weight:bold"><?= $_SESSION['upgrade']['error'] ?>
						<?php unset($_SESSION['upgrade']['error']) ?>
				</td>
			</tr>
			<tr>
				<td><input type="submit" value="Enter"></td>
			</tr>
		</table>
	</form>
</center>
<?php include_once('footer.php'); ?>