My Contact form works fine but when you press submit, it downloads the PHP File.
<form name="contactform" method="post" action="send_form_email.php">
And this is the submit button:
<input type="submit" name="button" class="button" value="Send">
If this is supposed to happened in offline mode then okay.
The “offline mode” is occurring because the PHP is being read directly by the web browser. You must put your PHP files in either a localhost or web host.