- Output for 5.3.0 - 5.3.19, 5.4.0 - 5.4.9
- Parse error: syntax error, unexpected ';' in /in/pKHAR on line 5
Process exited with code 255.
<?php
if(isset($_POST['submit'])) (
$msg = 'Name: ' .$_POST['FirstName'] .$_POST['LastName'] ."\n"
.'Email: ' .$_POST['Email'] ."\n"
.'Message: ' .$_POST['Message'];
mail('email@me.com', 'Message from website', $msg);
header('location: contact-thank-you.php');
)
else (
header('location: contact.php');
exit(0);
)
)
?>