@theOracle
could you point me what you mean with this update?
and the contenc of my quotation_send.php
<?php
while (list($textfeld, $wert) = each ($HTTP_POST_VARS))
{
if (preg_match("/Image_Name/", $textfeld)) {
$inPHormer_msg .= "\n------------\n\n";
}
else ;
$inPHormer_msg .= "$textfeld: $wert\n";
}
//-------------------
// Edit the following
//this should point to your error page if something goes wrong, currently just goes to index.
$inPHormer_err = "http://www.foto-kocher.com";
//this should point to your confirmation page (with a refresh to index.php), currently just goes to index.
$inPHormer_ok = "http://www.foto-kocher.com/vda.php";
// Subject of email
// $inPHormer_subj = "Foto_Anfrage: ";
$inPHormer_subj = "Foto_Anfrage von: ".$HTTP_POST_VARS['user_name']."";
// The email the form gets sent to
$inPHormer_mailTo = "anfrage@foto-kocher.com";
// Who the email says it's from. Updated to use the users login name and email (thanks to Chris).
$inPHormer_headSend = "From: ".$HTTP_POST_VARS['user_email']."(".$HTTP_POST_VARS['user_name'].")";
//-------------------end edit
mail($inPHormer_mailTo, $inPHormer_subj, $inPHormer_msg, $inPHormer_headSend);
header("Location: $inPHormer_ok");
?>