Hvorfor virker min advisering ikke fra min form mail
Jeg har lige skiftet webhost og nu virker min advicering ikke mere.www.italien-ferie.dk
min redirect.php ser sådan ud:
<?php
$modtager = "Hans Lundqvist<hans@e-and-l.com>";
$emne = "Booking af hus";
$indhold = "Der er en forespørgsel på huset";
foreach($_POST AS $key => $value)
{
$indhold .= $key . " = " . $value . "\n";
}
mail($modtager,$emne,$indhold);
require("connect.php");
if(isset($_POST['submit'])){
$name = $_REQUEST["name"];
$streetno = $_REQUEST["streetno"];
$zip = $_REQUEST["zip"];
$city = $_REQUEST["city"];
$country = $_REQUEST["country"];
$telephone = $_REQUEST["telephone"];
$weeks = $_REQUEST["weeks"];
$nopeople = $_REQUEST["nopeople"];
$noadults = $_REQUEST["noadults"];
$nochildren = $_REQUEST["nochildren"];
$startdate = $_REQUEST["startdate"];
$startmonth = $_REQUEST["startmonth"];
$startyear = $_REQUEST["startyear"];
$enddate = $_REQUEST["enddate"];
$endmonth = $_REQUEST["endmonth"];
$endyear = $_REQUEST["endyear"];
$remarks = $_REQUEST["remarks"];
mysql_query("insert into min_tabel(kundeID, name, streetno, zip, city, country, telephone, weeks, nopeople, noadults, nochildren, startdate, startmonth, startyear, enddate, endmonth, endyear, remarks)values(0, '$name', '$streetno','$zip','$city','$country','$telephone','$weeks','$nopeople','$noadults','$nochildren','$startdate','$startmonth','$startyear','$enddate','$endmonth','$endyear','$remarks')")or die(mysql_error());
header("Location: application.php");
}
?>
Informationerne går fint ind i databasen.
