könnte mir mal einer erklären, warum das nicht funzt?
Es tut nämlich und ich bekomme auch ein schönes Mail, wenn ich das Rubrikfeld "Name" nicht ausfülle.
send.php: http://development.bigbandksw.ch/send.php
edit: ach ja, den code der send.php - Datei:
Bestellformular: http://development.bigbandksw.ch/CDB.html
Danke schonmal im Voraus
Es tut nämlich und ich bekomme auch ein schönes Mail, wenn ich das Rubrikfeld "Name" nicht ausfülle.
send.php: http://development.bigbandksw.ch/send.php
edit: ach ja, den code der send.php - Datei:
Code:
<?
$mailto = '[email protected]';
$subject = 'CD-Bestellung The Game';
$fehlgeschlagen = 'CDError.html'; //
$erfolgreich = "CDBerf.html" ;
$Anzahl = $_POST['Anzahl'] ;
$name = $_POST['name'] ;
$email = $_POST['email'] ;
$ort = $_POST ['ort'] ;
$strasse = $_POST['strasse'] ;
if (empty ($firma) && ($name) && ($ort) && ($strasse)) {
header( "Location: $fehlgeschlagen" );
exit ;
}
if (get_magic_quotes_gpc()) {
$comments = stripslashes( $comments );
}
$messageproper = 'CD-Bestellung auf [url]www.bigbandksw.ch[/url] - Automatische Nachricht' .
'Anzahl:' .
$Anzahl .
'name:' .
$name .
'Email:' .
$email .
'Ort:' .
$ort .
'Strasse:' .
$strasse .
'Diese Person hat auf [url]www.bigbandksw.ch[/url] die CD "The Game" zum Preis von 25 Fr. zzgl. Versandkosten bestellt.';
for($i=1;$i<9;++$i)
$messageproper .= '';
mail($mailto, $subject, $messageproper, "From: \"$name\" <$email>\nReply-To: \"$name\" <$email>\nX-Mailer: chfeedback.php 2.02" );
header("Location: $erfolgreich");
exit ;
?>
Danke schonmal im Voraus