I recently upgraded my server to php 5.3. The contact form now will mail the subject line, and the subject titles in the message but the information itself does not come through. It also refreshes the page to the thank you screen. I am not a backend coder so I am lost in the search for the issue in the coding. For now I simply put the php file in a directory of a clients since they are on a different server and directed the return lines back to my website. It works perfect on their server which I am sure is an older version of php. [php]<?php
/* Subject and Email Variables */
$emailSubject = 'my name';
$webMaster = '[email protected]';
/* Gathering Data Variables */
$nameField = $_POST['name'];
$emailField = $_POST['email'];
$phoneField = $_POST['phone'];
$interestField = $_POST['interest'];
$commentField = $_POST['comment'];
$body = <<<EOD
Name: $name
Email: $email
Phone: $phone
Interest: $interest
Comments: $comment
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);[/php]
This is the top part of the code where i feel the issue is. Would love some help. THanks