Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
@@ -326,7 +326,7 @@ if(isset($pu['id'])) {
|
||||
$ttest['time'] = -$ttest['time'];
|
||||
}
|
||||
if( !isset($ttest['id']) || ( $ttest['time']-$tmgo*60-time()+10 ) <= 0 ) {
|
||||
$_POST['snd_telegraf'] = htmlspecialchars($_POST['snd_telegraf'],NULL,'cp1251');
|
||||
$_POST['snd_telegraf'] = htmlspecialchars($_POST['snd_telegraf'],NULL);
|
||||
$_POST['snd_telegraf'] = substr($_POST['snd_telegraf'],0,100);
|
||||
$_POST['snd_telegraf'] = str_replace('<','<',$_POST['snd_telegraf']);
|
||||
$_POST['snd_telegraf'] = str_replace('\x3e','<',$_POST['snd_telegraf']);
|
||||
@@ -351,7 +351,7 @@ if(isset($pu['id'])) {
|
||||
}elseif(isset($_POST['send3'])) {
|
||||
if($u->info['money'] >= 1) {
|
||||
//max_text
|
||||
$_POST['snd_post'] = htmlspecialchars($_POST['snd_post'],NULL,'cp1251');
|
||||
$_POST['snd_post'] = htmlspecialchars($_POST['snd_post'],NULL);
|
||||
$_POST['snd_post'] = substr($_POST['snd_post'],0,500);
|
||||
$_POST['snd_post'] = str_replace('<','<',$_POST['snd_post']);
|
||||
$_POST['snd_post'] = str_replace('\x3e','<',$_POST['snd_post']);
|
||||
|
||||
Reference in New Issue
Block a user