----------------------------------------------------
$vorname = preg_replace ( "/[^\w\d\sÄÖÜäöüß]/", " ", $HTTP_POST_VARS['vorname'], -1);
$name = preg_replace ( "/[^\w\d\sÄÖÜäöüß]/", " ", $HTTP_POST_VARS['name'], -1);
$email = preg_replace ( "/[^\w\d\s]/", " ", $HTTP_POST_VARS['email'], -1);
$strasse = preg_replace ( "/[^\w\d\sÄÖÜäöüß]/", " ", $HTTP_POST_VARS['strasse'], -1);
$wohnort = preg_replace ( "/[^\w\d\sÄÖÜäöüß]/", " ", $HTTP_POST_VARS['wohnort'], -1);
$subject = preg_replace ( "/[^\w\d\sÄÖÜäöüß]/", " ", $HTTP_POST_VARS['subject'], -1);
----------------------------------------------------
if (isset($_POST['Interesse'])) {
reset($_POST['Interesse']);
$body = $body . "\nInteressen\n";
foreach ($_POST['Interesse'] as $k => $v) {
$body = $body . "$k: $v\n";
}
} else {
$body = $body . "\nalle cbutton schlafen schon.\n";
}
----------------------------------------------------
Grüße Oesi
Ich weiß, dass ich nichts weiß... (Sokrates)
(Dieser Beitrag wurde von oesi50 am 4. Apr 2004, 14:46 geändert)