Hallo,
Op mijn website heb ik een contact pagina, http://www.mobiel-unlocker.nl/contact.php.
Alles doet het, het mailtje komt ook aan bij mij. Maar het probleem is dat als je het invult de tekst "uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op" door het veld staat in het midden en niet netjes naast het knopje verzenden.
Dit is de Code van de contact pagina:Misschien kan iemand mij helpen? Alvast bedankt!PHP Code:
<!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>Mobiel-unlocker.nl</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="website">
<div class="header"></div>
<div class="telefoons">
<div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div>
<div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div>
<div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div>
</div>
<div class="clear"></div>
<div class="onder">
<div class="menu">
<a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br />
<a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br />
<a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br />
<a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br />
<a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a>
</div>
<div class="content">
<h1>Contact</h1>
<form name="form1" method="post" action="contact.php">
<br />
Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br />
Vul dan de hieronder <b>gevraagde</b> gegevens in.
<br />
<font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br>
<font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font>
<br><input name="email" type="text" value=""><br />
<font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br>
<textarea name="bericht" rows="7" cols="45"></textarea><br><br />
<input type="submit" name="submit" font" value="Verzenden">
<br /><br /><br /><br /><br /><br /><br><br><br>
<font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font>
</form></div>
</div>
</div>
</body>
</html>
<?php
$naam = htmlspecialchars($_POST['naam']);
$email = htmlspecialchars($_POST['email']);
$bericht = htmlspecialchars($_POST['bericht']);
if ($_POST['submit'] == 'Verzenden'){
if (empty($naam)) {
echo "Vul uw naam in.";
}
elseif (empty($email)) {
echo "Vul uw e-mail adres in.";
}
elseif (empty($bericht)) {
echo "vul een bericht in.";
}
else {
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht:
____________________________________
" . $bericht . "
------------------------------------";
$mailadres = "info@mobiel-unlocker.nl";
$message = str_replace ("<br>","\n", $message);
mail($mailadres, "Bericht van www.mobiel-unlocker.nl",
$message, "From: " . $email . "");
echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.";
}
}
?>
- Een oplossing nodig!
-
27-02-2010, 10:29 #1
- Berichten
- 396
- Lid sinds
- 15 Jaar
Een oplossing nodig!
-
In de schijnwerper
Advertentieruimte gezocht – Verdien zonder tracking of cookiesAdvertentieruimteCafeine limiet - Custom module - GeneratePress premium themeWebsite te koopColocatie aanbieding! - 1U COLO, 1Gbps UPLINK, 25TB TRAFFIC = €29 p/m !HostingErvaren WordPress & WooCommerce Developer – Pixel-perfect & Whitelabel maatwerk!Freelance / Werk -
27-02-2010, 10:31 #2
- Berichten
- 150
- Lid sinds
- 15 Jaar
Code:<!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>Mobiel-unlocker.nl</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div class="website"> <div class="header"></div> <div class="telefoons"> <div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div> <div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div> <div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div> </div> <div class="clear"></div> <div class="onder"> <div class="menu"> <a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br /> <a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br /> <a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br /> <a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br /> <a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a> </div> <div class="content"> <h1>Contact</h1> <form name="form1" method="post" action="contact.php"> <br /> Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br /> Vul dan de hieronder <b>gevraagde</b> gegevens in. <br /> <font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br> <font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font> <br><input name="email" type="text" value=""><br /> <font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br> <textarea name="bericht" rows="7" cols="45"></textarea><br><br /> <input type="submit" name="submit" font" value="Verzenden"><br /> <?php $naam = htmlspecialchars($_POST['naam']); $email = htmlspecialchars($_POST['email']); $bericht = htmlspecialchars($_POST['bericht']); if ($_POST['submit'] == 'Verzenden'){ if (empty($naam)) { echo "Vul uw naam in."; } elseif (empty($email)) { echo "Vul uw e-mail adres in."; } elseif (empty($bericht)) { echo "vul een bericht in."; } else { $tijd = time(); $datum = strftime("%d/%m/%y %H:%M", $tijd); $ip = getenv("REMOTE_ADDR"); $message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht: ____________________________________ " . $bericht . " ------------------------------------"; $mailadres = "info@mobiel-unlocker.nl"; $message = str_replace ("<br>","\n", $message); mail($mailadres, "Bericht van www.mobiel-unlocker.nl", $message, "From: " . $email . ""); echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op."; } } ?> <br /><br /><br /><br /><br /><br /><br><br><br> <font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font> </form></div> </div> </div> </body> </html>
Zoiets?
-
27-02-2010, 10:33 #3
- Berichten
- 106
- Lid sinds
- 16 Jaar
Probeer deze is
PHP Code:<!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>Mobiel-unlocker.nl</title>
<link rel="stylesheet" type="text/css" href="http://www.mobiel-unlocker.nl/style.css" />
</head>
<body>
<div class="website">
<div class="header"></div>
<div class="telefoons">
<div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div>
<div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div>
<div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div>
</div>
<div class="clear"></div>
<div class="onder">
<div class="menu">
<a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br />
<a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br />
<a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br />
<a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br />
<a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a>
</div>
<div class="content">
<h1>Contact</h1>
<form name="form1" method="post" action="contact.php">
<br />
Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br />
Vul dan de hieronder <b>gevraagde</b> gegevens in.
<br />
<font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br>
<font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font>
<br><input name="email" type="text" value=""><br />
<font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br>
<textarea name="bericht" rows="7" cols="45"></textarea><br><br />
<input type="submit" name="submit" value="Verzenden"><?php
$naam = htmlspecialchars($_POST['naam']);
$email = htmlspecialchars($_POST['email']);
$bericht = htmlspecialchars($_POST['bericht']);
if ($_POST['submit'] == 'Verzenden'){
if (empty($naam)) {
echo "Vul uw naam in.";
}
elseif (empty($email)) {
echo "Vul uw e-mail adres in.";
}
elseif (empty($bericht)) {
echo "vul een bericht in.";
}
else {
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht:
____________________________________
" . $bericht . "
------------------------------------";
$mailadres = "info@mobiel-unlocker.nl";
$message = str_replace ("<br>","\n", $message);
mail($mailadres, "Bericht van www.mobiel-unlocker.nl",
$message, "From: " . $email . "");
echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.";
}
}
?>
<br /><br /><br /><br /><br /><br /><br><br><br>
<font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font>
</form></div>
</div>
</div>
</body>
</html>
-
27-02-2010, 10:33 #4
- Berichten
- 396
- Lid sinds
- 15 Jaar
Nee jammer :( Is nog steeds het zelfde probleem.
Aanvullend bericht:
Probeer deze is
PHP Code:<!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>Mobiel-unlocker.nl</title>
<link rel="stylesheet" type="text/css" href="http://www.mobiel-unlocker.nl/style.css" />
</head>
<body>
<div class="website">
<div class="header"></div>
<div class="telefoons">
<div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div>
<div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div>
<div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div>
</div>
<div class="clear"></div>
<div class="onder">
<div class="menu">
<a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br />
<a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br />
<a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br />
<a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br />
<a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a>
</div>
<div class="content">
<h1>Contact</h1>
<form name="form1" method="post" action="contact.php">
<br />
Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br />
Vul dan de hieronder <b>gevraagde</b> gegevens in.
<br />
<font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br>
<font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font>
<br><input name="email" type="text" value=""><br />
<font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br>
<textarea name="bericht" rows="7" cols="45"></textarea><br><br />
<input type="submit" name="submit" value="Verzenden"><?php
$naam = htmlspecialchars($_POST['naam']);
$email = htmlspecialchars($_POST['email']);
$bericht = htmlspecialchars($_POST['bericht']);
if ($_POST['submit'] == 'Verzenden'){
if (empty($naam)) {
echo "Vul uw naam in.";
}
elseif (empty($email)) {
echo "Vul uw e-mail adres in.";
}
elseif (empty($bericht)) {
echo "vul een bericht in.";
}
else {
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht:
____________________________________
" . $bericht . "
------------------------------------";
$mailadres = "info@mobiel-unlocker.nl";
$message = str_replace ("<br>","\n", $message);
mail($mailadres, "Bericht van www.mobiel-unlocker.nl",
$message, "From: " . $email . "");
echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.";
}
}
?>
<br /><br /><br /><br /><br /><br /><br><br><br>
<font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font>
</form></div>
</div>
</div>
</body>
</html>
Aanvullend bericht:
En weer de zelfde fout :)Laatst aangepast door Marlon Pijpenseel : 27-02-2010 om 10:37 Reden: Automatisch samengevoegd.
-
27-02-2010, 10:40 #5
- Berichten
- 106
- Lid sinds
- 16 Jaar
PHP Code:<!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>Mobiel-unlocker.nl</title>
<link rel="stylesheet" type="text/css" href="http://www.mobiel-unlocker.nl/style.css" />
</head>
<body>
<div class="website">
<div class="header"></div>
<div class="telefoons">
<div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div>
<div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div>
<div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div>
</div>
<div class="clear"></div>
<div class="onder">
<div class="menu">
<a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br />
<a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br />
<a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br />
<a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br />
<a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a>
</div>
<div class="content">
<h1>Contact</h1>
<form name="form1" method="post" action="contact.php">
<?php
$naam = htmlspecialchars($_POST['naam']);
$email = htmlspecialchars($_POST['email']);
$bericht = htmlspecialchars($_POST['bericht']);
if ($_POST['submit'] == 'Verzenden'){
if (empty($naam)) {
echo "Vul uw naam in.";
}
elseif (empty($email)) {
echo "Vul uw e-mail adres in.";
}
elseif (empty($bericht)) {
echo "vul een bericht in.";
}
else {
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht:
____________________________________
" . $bericht . "
------------------------------------";
$mailadres = "info@mobiel-unlocker.nl";
$message = str_replace ("<br>","\n", $message);
mail($mailadres, "Bericht van www.mobiel-unlocker.nl",
$message, "From: " . $email . "");
echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.";
}
}
?>
<br />
Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br />
Vul dan de hieronder <b>gevraagde</b> gegevens in.
<br />
<font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br>
<font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font>
<br><input name="email" type="text" value=""><br />
<font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br>
<textarea name="bericht" rows="7" cols="45"></textarea><br><br />
<input type="submit" name="submit" value="Verzenden">
<br /><br /><br /><br /><br /><br /><br><br><br>
<font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font>
</form></div>
</div>
</div>
</body>
</html>
-
27-02-2010, 11:06 #6
- Berichten
- 396
- Lid sinds
- 15 Jaar
PHP Code:<!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>Mobiel-unlocker.nl</title>
<link rel="stylesheet" type="text/css" href="http://www.mobiel-unlocker.nl/style.css" />
</head>
<body>
<div class="website">
<div class="header"></div>
<div class="telefoons">
<div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div>
<div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div>
<div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div>
</div>
<div class="clear"></div>
<div class="onder">
<div class="menu">
<a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br />
<a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br />
<a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br />
<a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br />
<a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a>
</div>
<div class="content">
<h1>Contact</h1>
<form name="form1" method="post" action="contact.php">
<?php
$naam = htmlspecialchars($_POST['naam']);
$email = htmlspecialchars($_POST['email']);
$bericht = htmlspecialchars($_POST['bericht']);
if ($_POST['submit'] == 'Verzenden'){
if (empty($naam)) {
echo "Vul uw naam in.";
}
elseif (empty($email)) {
echo "Vul uw e-mail adres in.";
}
elseif (empty($bericht)) {
echo "vul een bericht in.";
}
else {
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht:
____________________________________
" . $bericht . "
------------------------------------";
$mailadres = "info@mobiel-unlocker.nl";
$message = str_replace ("<br>","\n", $message);
mail($mailadres, "Bericht van www.mobiel-unlocker.nl",
$message, "From: " . $email . "");
echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.";
}
}
?>
<br />
Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br />
Vul dan de hieronder <b>gevraagde</b> gegevens in.
<br />
<font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br>
<font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font>
<br><input name="email" type="text" value=""><br />
<font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br>
<textarea name="bericht" rows="7" cols="45"></textarea><br><br />
<input type="submit" name="submit" value="Verzenden">
<br /><br /><br /><br /><br /><br /><br><br><br>
<font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font>
</form></div>
</div>
</div>
</body>
</html>
-
27-02-2010, 11:08 #7
- Berichten
- 150
- Lid sinds
- 15 Jaar
Heel erg vreemd; het zou gewoon moeten werken. Weet je zeker dat je het goede bestand hebt aangepast?
-
27-02-2010, 11:15 #8
- Berichten
- 396
- Lid sinds
- 15 Jaar
Ja ik weet het zeker. Anders voeg mij even toe op
Aanvullend bericht:
Ik ben er nog steeds niet uit kan misschien nog iemand anders me proberen te helpen:)?
Alvast bedankt!Laatst aangepast door Marlon Pijpenseel : 27-02-2010 om 11:27 Reden: Automatisch samengevoegd.
-
27-02-2010, 11:29 #9
- Berichten
- 750
- Lid sinds
- 15 Jaar
Je xhtml bevat veel fouten http://validator.w3.org/check?uri=ht...Inline&group=0 .
Ja ik weet veel alt die missen maar er staat bijvoorbeeld ook dit
<input type="submit" name="submit" font" value="Verzenden"> in de xhtml
Edit:
Ohw ja logisch dat de de style niet goed toegepast wordt. Als je de bron bekijkt zit je onderstaande onderaan
Code:</body> </html> Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.
-
27-02-2010, 11:30 #10
- Berichten
- 143
- Lid sinds
- 16 Jaar
PHP Code:<?php
if ($_POST['submit'] == 'Verzenden'){
$naam = htmlspecialchars($_POST['naam']);
$email = htmlspecialchars($_POST['email']);
$bericht = htmlspecialchars($_POST['bericht']);
if (empty($naam))
{
echo "Vul uw naam in.";
}
elseif (empty($email))
{
echo "Vul uw e-mail adres in.";
}
elseif (empty($bericht))
{
echo "vul een bericht in.";
}
else
{
$tijd = time();
$datum = strftime("%d/%m/%y %H:%M", $tijd);
$ip = getenv("REMOTE_ADDR");
$message = $naam . " met het e-mailadres " . $email . " en het IP $ip stuurde op $datum het volgende bericht:
____________________________________
" . $bericht . "
------------------------------------";
$mailadres = "info@mobiel-unlocker.nl";
$message = str_replace ("<br>","\n", $message);
mail($mailadres, "Bericht van www.mobiel-unlocker.nl",
$message, "From: " . $email . "");
}
}
?>
<!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>Mobiel-unlocker.nl</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="website">
<div class="header"></div>
<div class="telefoons">
<div class="iphone"><img src="images/iphone.png" /><a href="#">iPhone unlock<br />€2,99</a></div>
<div class="gms"><img src="images/gsm.png" /><a href="#">GSM unlock<br />€2,49</a></div>
<div class="pda"><img src="images/pda.png" /><a href="#">PDA unlock<br />€2,49</a></div>
</div>
<div class="clear"></div>
<div class="onder">
<div class="menu">
<a href="http://www.mobiel-unlocker.nl/index.html">» Home</a><br />
<a href="http://www.mobiel-unlocker.nl/hoehetwerkt.php">» Hoe werkt het?</a><br />
<a href="http://www.mobiel-unlocker.nl/linkpartners.php">» Linkpartners</a><br />
<a href="http://www.mobiel-unlocker.nl/faq.php">» FAQ</a><br />
<a href="http://www.mobiel-unlocker.nl/contact.php">» Contact</a>
</div>
<div class="content">
<h1>Contact</h1>
<form name="form1" method="post" action="contact.php">
<br />
Heeft <b>u</b> een vraag, of zit u met een <b>probleem/opmerking?</b><br />
Vul dan de hieronder <b>gevraagde</b> gegevens in.
<br />
<font face="calibri" color="#6d6d6d"><b>Naam:</b></font> <br><input name="naam" type="text" value=""><br>
<font face="calibri" color="#6d6d6d"><b>E-Mail:</b></font>
<br><input name="email" type="text" value=""><br />
<font face="calibri" color="#6d6d6d"><b>Bericht:</b></font><br>
<textarea name="bericht" rows="7" cols="45"></textarea><br><br />
<input type="submit" name="submit" font" value="Verzenden">
<?
if(!empty($message)) {
echo "Uw bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op.";
}
?>
<br /><br /><br /><br /><br /><br /><br><br><br>
<font size="-1" ><b>© Mobiel-unlocker.nl</b> 2010-2011 | Alle rechten voorbehouden</font>
</form>
</div>
</div>
</div>
</body>
</html>
Gr Dennis
-
27-02-2010, 11:35 #11
- Berichten
- 396
- Lid sinds
- 15 Jaar
Nee nog steeds het zelfde probleem :( op het begin is alles gewoon goed maar als je alles hebt ingevuld en op verzenden drukt krijg ik "bericht is succesvol verzonden. Wij nemen zo spoedig mogelijk contact met u op." door de tekst heen:(
-
27-02-2010, 11:42 #12
- Berichten
- 143
- Lid sinds
- 16 Jaar
Hmmm. dat is wel raar:
http://www.app-web.nl/dev/form/index.php
Bij mij werkt het gewoon.. waarom bij jou op de server niet ??
Gr Dennis
-
27-02-2010, 11:43 #13
- Berichten
- 396
- Lid sinds
- 15 Jaar
huh vreemd ja :S kunt u anders mij even dat bestandje sturen ? Graag naar
:)
-
27-02-2010, 11:48 #14
- Berichten
- 143
- Lid sinds
- 16 Jaar
Bestand is verstuurd..
Als je nog hulp nodig hebt hoor ik het wel.
Gr Dennis
-
27-02-2010, 11:55 #15
- Berichten
- 396
- Lid sinds
- 15 Jaar
Met dank aan Dennis van Rijswijk is het gelukt! Bedankt Dennis!
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic