Witam, jest to skrypt formularza kontaktowego - wysyła wiadomości bez zarzutów tylko nie wyświetla polskich znaków. Wyczytałem że należy dopisać do kodu linijkę z kodem
$headers = "Content-Type: text/html; charset=\"iso-8859-2\"\n";
mimo to nie wyświetla polskich znaków. Proszę o pomoc.
pełny kod znajduje się pod adresem:
http://pokazywarka.pl/tbmgdx/<?
// email for send submitted forms //////////////////////////////////////////
// if empty, use value from form ('info@management-club.hr' field)
$send_to = "info@management-club.hr>";
$headers = "Content-Type: text/html; charset=\"iso-8859-2\"\n";
// set $send_cc address if you need copy of mail to other addresses
// for example: $send_cc = array('friend1@ccc.cc', 'friend2@ccc.cc');
//
// Subject. if empty, use value from form ('subject' field)
$subject = "info@management-club.hr";
// Allowed Referres. Should be empty or list of domains
// Attachments
$attachment_enabled = 1;
////// Database - write CSV file with data of submitted forms //////////////
$database_enabled = 0;
$database_file = 'email.csv';
// Fields to collect
// $database_fields = '*' - mean all fields, as in form
// $database_fields = array('from', 'subject') - only 'from', 'subject' fields
$database_fields = '*';
////// Redirect user after submitting form
$redirect_url = 'http://www.management-club.hr/uspjesno.htm';
////// Auto-Responder
////// You can substitute any of form fields in response by using
////// %field_name% in response text.
//////
?>