formulario de contato
ola pessoas,
entao eu tenho uma pagina na interner que tem um formulario de contato em PHP, mas eu contratei um servidor barato e ele nao aceita php, e eu gostaria de saber se tem como eu fazer esse formulario funcionar sem ser com php???
no momento uso esse formulario:
<fieldset>
<form method="post" action="processaForm.php">
<label for="vorname"> Vorname: </label><br>
<input id="vorname" name="vorname" type="text" required><br>
<label for="nachname"> Nachname: </label><br>
<input id="nachname" name="nachname" type="text" required><br>
<label for="telefon"> Telefon: </label><br>
<input id="telefon" name="telefon" type="tel" required><br>
<label for="email"> E-Mail: </label><br>
<input id="email" name="email" type="email" required><br>
<label for="nachricht"> Nachricht: </label><br>
<textarea name="nachricht" id="nachricht" ></textarea><br>
<input type="submit" value="Nachricht senden" />
<input type="reset" value="Löschen" />
</form>
</fieldset>
com esse php:
<?php
$fur= "negrellowebdesign@gmail.com";
$nachricht= "Nachricht von Kontakt";
$vorname= $_REQUEST['vorname'];
$nachname= $_REQUEST['nachname'];
$telefon= $_REQUEST['telefon'];
$email= $_REQUEST['email'];
$msg= $_REQUEST['nachricht'];
$body = "<strong> Nachricht von Kontakt</strong><br><br>";
$body .= "<strong> Vorname: </strong> $vorname";
$body .= "<br><strong> Nachname: </strong> $nachname";
$body .= "<br><strong> Telefon: </strong> $telefon";
$body .= "<br><strong> E-mail: </strong> $email";
$body .= "<br><strong> Nachricht: </strong> $msg";
$header= "Content-type: Text/html; charset= utf-8\n";
$header.="From: $email Reply-to: $email\n";
@mail($fur,$nachricht,$body,$header);
header("location:kontakt.html?msg=geschickt");
?>
alguem tem ideia de como fazer issu sem php???
obrigado
Discussão (3)
Carregando comentários...