V
Verwijderd lid 141197
PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contact-(verwijderd) de Dennenhorst</title>
<style type="text/css"></style>
<link href="css/site_contact.css" rel="stylesheet" type="text/css" media="all" />
<LINK REL="SHORTCUT ICON" HREF="http://www.(verwijderd).eu/favicon.ico">
</head>
<body>
<div class="Superbox">
<div class="Box">
<div class="Logo"></div>
<div class="Header"><img src="media/typografie/contact_.png" alt="Contact" width="203" height="38" hspace="50" vspace="6" /></div>
<div class="Site">
<div class="Text_vol stijl1"><br />
<br /><div class="Message"><?php
$naam = htmlspecialchars($_POST["naam"]);
$email = htmlspecialchars($_POST["e-mail"]);
$onderwerp = htmlspecialchars($_POST["onderwerp"]);
$bericht = htmlspecialchars($_POST["bericht"]);
if (!$naam) {
echo "U heeft geen naam ingevuld!";
exit; }
if (!$email) {
echo "U heeft geen e-mailadres ingevuld!";
exit; }
if (!$onderwerp) {
echo "U heeft geen onderwerp ingevuld!";
exit; }
if (!$bericht) {
echo "U heeft geen bericht ingevuld!";
exit; }
else {
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message ="
Naam:" . $naam . "
E-mail:" . $email . "
Onderwerp:". $onderwerp . "<br />
Bericht:
--------------------------------------------------
" . $bericht . "
--------------------------------------------------
IP-adres:". $ip . "
Datum:" . $datum . "";
$mailadres = "-----------------@----------------";
$message = str_replace ("<br>","\n", $message);
mail("$mailadres", "Contact (verwijderd)",
$message, "From: " . $email . "");
echo "Uw bericht is verzonden. U krijgt zo snel mogelijk antwoord.";
}
?></div>
<form name="form1" method="post" action="">
<table width="500" border="0">
<tr>
<td width="140">Naam:</td>
<td width="221"><input name="naam" type="text" class="text_box"></td>
</tr>
<tr>
<td>E-mail:</td>
<td><input name="e-mail" type="text" class="text_box"></td>
</tr>
<tr>
<td>Onderwerp:</td>
<td><input name="onderwerp" type="text" class="text_box"></td>
</tr>
<tr>
<td>Bericht:</td>
<td><textarea name="bericht" class="text_box_large" cols="20"></textarea></td>
</tr>
<tr>
<td>Houdt mij op de hoogte:</td>
<td><label>
<input name="checkbox" type="checkbox" id="checkbox" checked="checked" />
Nieuwsbrief
</label></td>
</tr>
</table>
<p>
<input name="Submit" type="submit" class="Button_" value="Verstuur">
<input name="Reset" type="reset" class="Button" id="Reset" value="Reset" />
</p>
</form></div>
</div>
<div class="Bottom">
<div class="End stijl1">
<div align="center">Alle rechten voorbehouden.<br />
© Copyright Stichting vrienden van het (verwijderd) 09</div>
</div>
</div>
<div class="MenuBox">
<div class="Home" onClick="window.location.href='index.html'"></div>
<div class="Nieuws" onClick="window.location.href='nieuws.html'"></div>
<div class="Over_Ons" onClick="window.location.href='over-ons.html'"></div>
<div class="Waar" onClick="window.location.href='waar.html'"></div>
<div class="Historie" onClick="window.location.href='historie.html'"></div>
<div class="Contact" onClick="window.location.href='contact.html'"></div>
<div class="Links" onClick="window.location.href='links.html'"></div>
</div>
</div>
</div>
</body>
</html>
het resultaat
http://www.pineutm.eu/t/contact.php
zoasl je ziet mis ik alles dat onder het php script staat hoe kan dit?
en wat kan ik er tegen doen

alvast heel erg veel dank:thumb: