resultaten-van-een-formulier-per-email-versturen
Gesponsorde koppelingen
PHP script bestanden
Code (php)
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
60
61
62
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
60
61
62
<?php
if (isset($submit)) {
$Onderwerp="Bericht\n";
$Naam="Naam: $Naam\n";
$Email="E-mail: $Email\n";
$Bericht="Bericht: $Bericht\n";
mail("[email protected]", "$Onderwerp", "$Naam $Email $Bericht");
}
?>
<html>
<head>
<STYLE TYPE="text/css"><!--
BODY {
scrollbar-arrow-color:#000000;
scrollbar-track-color:#FFFFFF;
scrollbar-shadow-color:#000000;
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-3dlight-color:#000000;
}
//--></STYLE>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Velden {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
border: 1px ridge #000000;
}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="Index.php">
<table width="75%">
<tr>
<td width="16%"><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Naam:</font></div></td>
<td width="84%"><input name="Naam" type="text" size="40" class="Velden"></td>
</tr>
<tr>
<td><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">E-mailadres</font><font size="3" face="Arial, Helvetica, sans-serif">:</font></div></td>
<td><input name="Email" type="text" size="40" class="Velden"></td>
</tr>
<tr>
<td align="right" valign="top"> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Bericht:</font></div></td>
<td><textarea name="Bericht" cols="45" rows="5" class="Velden"></textarea></td>
</tr>
<tr>
<td align="right" valign="top"> </td>
<td><input type="submit" name="submit" value="Verzenden" class="Velden">
<input type="reset" name="reset" value="Reset" class="Velden"></td>
</tr>
</table>
</form>
</body>
</html>
if (isset($submit)) {
$Onderwerp="Bericht\n";
$Naam="Naam: $Naam\n";
$Email="E-mail: $Email\n";
$Bericht="Bericht: $Bericht\n";
mail("[email protected]", "$Onderwerp", "$Naam $Email $Bericht");
}
?>
<html>
<head>
<STYLE TYPE="text/css"><!--
BODY {
scrollbar-arrow-color:#000000;
scrollbar-track-color:#FFFFFF;
scrollbar-shadow-color:#000000;
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-3dlight-color:#000000;
}
//--></STYLE>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Velden {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
border: 1px ridge #000000;
}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="Index.php">
<table width="75%">
<tr>
<td width="16%"><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Naam:</font></div></td>
<td width="84%"><input name="Naam" type="text" size="40" class="Velden"></td>
</tr>
<tr>
<td><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">E-mailadres</font><font size="3" face="Arial, Helvetica, sans-serif">:</font></div></td>
<td><input name="Email" type="text" size="40" class="Velden"></td>
</tr>
<tr>
<td align="right" valign="top"> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Bericht:</font></div></td>
<td><textarea name="Bericht" cols="45" rows="5" class="Velden"></textarea></td>
</tr>
<tr>
<td align="right" valign="top"> </td>
<td><input type="submit" name="submit" value="Verzenden" class="Velden">
<input type="reset" name="reset" value="Reset" class="Velden"></td>
</tr>
</table>
</form>
</body>
</html>