Gegen Bilderklau - Das Original (https://www.gegen-bilderklau.net/index.php)
- Design, Website, Copyright (https://www.gegen-bilderklau.net/board.php?boardid=80)
--- Homepagehilfe (https://www.gegen-bilderklau.net/board.php?boardid=27)
---- Homepagehilfe - Archiv (https://www.gegen-bilderklau.net/board.php?boardid=139)
----- [PHP & MySQL] PHP Mailformular (https://www.gegen-bilderklau.net/thread.php?threadid=119263)


Geschrieben von .Heaven am 28.09.2007 um 11:44:

  PHP Mailformular

Hallo,
ich selber kenne mich mit PHP gar nicht so gut aus, arbeite deswegen auch nur mit Unis Adventskalender. Jetzt habe ich mein erstes Mailformular mit PHP erstellt, funktioniert auch, eigentlich. Allerdings wird mir der Inhalt nicht angezeigt.

Code:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
<html>

<head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Privatstall Wandelsweg</title>
<style>
<!--
table.MsoTableGrid
	{border:1.0pt solid windowtext;
	font-size:10.0pt;
	font-family:"Times New Roman";
	}
-->
</style>
</head>

<body>

<p align="center"><font face="Georgia" size="2">Privatstall Wandelsweg </font><hr>
<p align="center"><font face="Georgia" size="2">Du wirst schnellstmöglich eine 
Antwort erhalten. (:</font><br>
</p>
<div align="center">
<form action="Kontaktaufnahme.php" name="Kontakt" method="post">

<font face="Georgia"><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

Name:&nbsp; </font> <input type="text" name="name" size="20" /><font size="2"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
E-Mail:&nbsp; </font> <input type="text" name="mail" size="20" /><font size="2"><br>
Mitteilung:&nbsp; </font> <input type="text" name="pferd" size="20" /><font size="2"><br>
<br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font>



<input type="submit" name="send" value="Senden" /><font size="2"> </font></font>
</form>
<? $mail=$HTTP_POST_VARS['mail'];
$name=$HTTP_POST_VARS['name'];
$mitteilung=$HTTP_POST_VARS['mitteilung'];
// -->

if($mail != ""){
mail("shari-u@arcor.de","Kontaktaufnahme","Jemand sucht Kontakt","From: $mail");
echo "Abgeschickt. Es wird bald eingetragen";
}
?></div>

</p>

</body>

</html>


Und das steht in der Mail:

Jemand sucht Kontakt


--
Powered by http://www.ohost.de
Kostenloser Webspace with PHP und MySQL Support!
8x MySQL 8x FTP Traffic inklusive!

Diese Email wurde vom Nutzer ulbrich versendet. SPAM an abuse@ohost.de melden!.

Der Betreff, Email, Grund und alles stimmt auch. Nur nicht, was der jenige geschrieben hat ):

LG;
Shari.



Geschrieben von .Heaven am 28.09.2007 um 13:06:

 

Oh xDD
Danke schön, ich werds gleich ausprobieren. #flausch#

LG;
Shari.


Forensoftware: Burning Board, entwickelt von WoltLab GmbH