I have a simple contact form on Godaddy, which stopped working.
Seems Godaddy changed the version of PHP running on my Linux hosting account.
Don’t remember what the previous version was, but now it is v 5.2 or 5.3 (radio button lets me select).
When I submit form … I get the ‘$subject’ and ‘$to’ comes to my email, but everything else is blank.
Could someone please tell me how to make this work. I couldn’t find the answer just by Googling it.
Here is the PHP … that used to work
[php]<? // add a prefix in the subject line so that you know the email was sent by online form $subject = "MY Contact Form ". $subject; $to = "[email protected]"; $msg = "Name: $contact\n\n"; $msg .= "Sender: $sender\n\n"; $msg .= "Subject: $subject\n\n"; $msg .= "Telephone: $telephone\n\n"; $msg .= "Mobile: $mobile\n\n"; $msg .= "Company Site: $company\n\n"; $msg .= "Message: $message\n\n"; mail($to, $subject, $msg, "From: $sender"); ?>