Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/team101.net/httpdocs/DesertCombatTournament/form.php:8) in /home/httpd/vhosts/team101.net/httpdocs/DesertCombatTournament/form.php on line 32
the form code is I dont think u need the forms please post if needed.
Code: Select all
<?
//Declare the variables
$recipient = "Vicious@team101.net";
$subject = "Entry To Desert Combat Tournament";
$message = "Entry To Desert Combat Tournament
Info:
$recipient,$subject,$message,$email,$tag,$leader,$website,$server";
$subject=$_POST['subject'];
//Contents of form
$name=$_POST['teamname'];
$email=$_POST['email'];
$comments=$_POST['comments'];
$tag=$_POST['tag'];
$leader=$_POST['leader'];
$website=$_POST['website'];
$server=$_POST['server'];
//mail() function sends the mail
mail($recipient,$subject,$message);
?>
<?
header ("http://www.team101.net/DesertCombatTournament/success.php");
?>