пользовался Private Shell
$from = "From: $visitormail\r\n";
заменить на
$from = "Content-type: text/html; charset=windows-1251\r\nFrom: $visitormail\r\n";
где "windows-1251" - нужная кодировка письма
буржуи? :)
по глупости и за ксап, сап можно бан получить. И без всякой перелинковки
это же не assembler :)
auStern, у меня нет начислений
/ru/forum/comment/3100158
в старых версиях wp открываем файл /wp-includes/wp-db.php и вставляем строку
@mysql_query("SET NAMES cp1251", $this->dbh);
в функцию wpdb($dbuser, $dbpassword, $dbname, $dbhost), где cp1251 - нужная кодировка
Будет выглядеть так
// ================================================================== // DB Constructor - connects to the server and selects a database function wpdb($dbuser, $dbpassword, $dbname, $dbhost) { $this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword); if (!$this->dbh) { $this->bail("<h1>Error establishing a database connection</h1><p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>$dbhost</code>. This could mean your host's database server is down.</p><ul> <li>Are you sure you have the correct username and password?</li> <li>Are you sure that you have typed the correct hostname?</li> <li>Are you sure that the database server is running?</li></ul><p>If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href='http://wordpress.org/support/'>WordPress Support Forums</a>.</p>"); } @mysql_query("SET NAMES cp1251", $this->dbh); $this->select($dbname); }
да, правильно
мое мнение, что не дает