panove, co kouknout co RCF... :-D
--------------------------------------------------------------------------------------
// převedení z windows-1250 do iso-8859-2
$text_pom = StrTr($formular,
"\x8A\x8D\x8E\x9A\x9D\x9E",
"\xA9\xAB\xAE\xB9\xBB\xBE");
// překódování do Base64
$text = Base64_Encode($text_pom);
// přidání hlaviček
$headers .= "MIME-Version: 1.0\n".
"Content-Type: text/plain; charset=\"iso-8859-2\"\n".
"Content-Transfer-Encoding: base64\n";
@mail("[email]mail@mojedomena.cz[/email]","subject",$text,$headers);
--------------------------------------------------------------------------------------
jinak se da odesilat i ve formatu widlous. Staci upravit
jak jednoduche, snad vam to pomuze :-D
-- JaV ---- [
http://www.hades.cz] ---- security by obscurity ---------------------------------------------
motto:
It's OK to be ignorant; it's not OK to play stupid.
But it's simply not efficient for us to try to help people who are not willing to help themselves.
----------------------------------------------------------------------------------------------------------------------
Celkem upraveno 1×. Poslední úprava JanVar v 15.02.2005 13:15.