Computer Hardware Forum - TweakPC

Computer Hardware Forum - TweakPC (https://www.tweakpc.de/forum/)
-   Programmiersprachen (https://www.tweakpc.de/forum/programmiersprachen/)
-   -   PHP Formular (https://www.tweakpc.de/forum/programmiersprachen/5746-php-formular.html)

ExOrBiTaNt 28.01.2003 07:53

PHP Formular
 
Hallo, kann mir jemand helfen ein PHP Script zu schreiben um dann die Textfelder des Formulares als email zu verschicken.

Joshua 09.02.2003 00:22

Wieso schreiben ?
Gibt es zu tausenden im Netz - [url]www.google.de[/url] ist dein Freund ;-)

Cheers,
Joshua

ExOrBiTaNt 09.02.2003 07:24

So n Formular wie ich wollte gabs nicht. Ich hab aber in der Zwischenzeit einfach ein fertiges genommen, hat zwar nicht alle Funktionen aber besser als gar nichts.

Joshua 09.02.2003 12:21

Bestehende Formulare kann man ja erweitern....

Cheers,
Joshua

Einstein 06.04.2003 19:11

Nimm das hier:

Das Formular (z.B. mail.htm):

<html>
<head>
<title>Mail-Formular</title>
</head>
<body>
<form action="mail.php" method="post">
<p>Betreff: <input type="text" id="betreff"></p>
<p>Name: <input type="text" id="name"></p>
<p>e-mail: <input type="text" id="email"></p>
<p>Empfänger-email: <input type="text" id="eemail"></p>
<p>Text: <input type="text" id="text"></p>
<input type="submit" value="Abschickn">
</form>
</body>
</html>

Und die Datei mail.php:

<?php
mail("<$eemail>","$betreff","$text","From: $name <$email>");
?>

Gruß, Einstein


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:54 Uhr.

Powered by vBulletin® Version 3.8.10 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.5.2 ©2010, Crawlability, Inc.