Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
[...]
<form action="senden.php" method="post">
Name: <input type="text" name="name" /><br />
E-mail<input type="text" name="email" /><br />
Text: <textarea name="text"> </textarea><br />
<input type="submit" value="Senden" />
</form>
[...]
<?php
//senden.php
$name=$_POST['name'];
$text=$_POST['text'];
$mail=$_POST['email'];
if($mail!="") {
$mailtext="Name: ";
$mailtext.=$name;
$mailtext.="\n";
$mailtext.="E-Mail Adresse: ";
$mailtext.=$mail;
$mailtext.="\n";
$mailtext.="Anfrage oder Kommentar: ";
$mailtext.=$text;
$absender="From:";
$absender.=$mail;
mail("[email protected]","Feedback über das Kontaktformular",$mailtext,$absender);
print("<center>Die E-Mail wurde erfolgreich abgeschickt!</center>");
print google.de'>");
}
else {
print ("E-Mail konnte nicht abgeschickt werden!");
}
?>
Warning
Do not use extract() on untrusted data, like user-input ($_GET, ...). If you do, for example, if you want to run old code that relies on register_globals temporarily, make sure you use one of the non-overwriting extract_type values such as EXTR_SKIP and be aware that you should extract in the same order that's defined in variables_order within the php.ini.
außerdem wird es doch einen gründ haben das man PHP: Using Register Globals - Manual deaktiviert...