Hi Leutz,
ich hab folgendes Problem.
Ich hab ein Formular erstellt, die Variablen werden per PHP an meine Mail Adresse gesendet. Kein Problem bis dahin.
Allerdings wenn ich im Formular einen Umlaut hab (ä,ö,ü) dann zeigt er ihn nicht an sondern schreibt nur quatsch.
dies ist das php-scrip:
---
<?php
// email address
$adminaddress = "mail@server.de";
// your website
$siteaddress ="http://www.yourwebsite.de";
// company name
$sitename = "company name";
// Gets the date and time from server
$date = date("d.m.Y H:i:s");
// Gets IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
IF ($action != "")
{
mail("$adminaddress","Anfrage über Einrichten & Wohnen Online",
"
Name: $inputName
Strasse: $inputStrasse
PLZ / Ort: $inputPLZ $inputOrt
eMail: $inputEmail
Telefon: $inputTel
Telefax: $inputFax
Prospekt? : $inputProspekt
Nachricht: $inputNachricht
----------------------
Datum/Zeit: $date","FROM:$inputEmail");
}
?>
---
kann mir jemand weiterhelfen??
danke schon mal im vorraus
cu
Andy
ich hab folgendes Problem.
Ich hab ein Formular erstellt, die Variablen werden per PHP an meine Mail Adresse gesendet. Kein Problem bis dahin.
Allerdings wenn ich im Formular einen Umlaut hab (ä,ö,ü) dann zeigt er ihn nicht an sondern schreibt nur quatsch.
dies ist das php-scrip:
---
<?php
// email address
$adminaddress = "mail@server.de";
// your website
$siteaddress ="http://www.yourwebsite.de";
// company name
$sitename = "company name";
// Gets the date and time from server
$date = date("d.m.Y H:i:s");
// Gets IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
IF ($action != "")
{
mail("$adminaddress","Anfrage über Einrichten & Wohnen Online",
"
Name: $inputName
Strasse: $inputStrasse
PLZ / Ort: $inputPLZ $inputOrt
eMail: $inputEmail
Telefon: $inputTel
Telefax: $inputFax
Prospekt? : $inputProspekt
Nachricht: $inputNachricht
----------------------
Datum/Zeit: $date","FROM:$inputEmail");
}
?>
---
kann mir jemand weiterhelfen??
danke schon mal im vorraus
cu
Andy
Zuletzt bearbeitet: