"(",")" => ")","$" => "$","€" => "€", "×" => "×","÷" => "÷","[" => "[","]" => "]","{" => "{", "}" => "}","^" => "^","?" => "?","*" => "*","+" => "+", "-" => "-","." => ".","\\" => "\","/" => "/","<" => "<", ">" => ">","`" => "`","\"" => ""","'" => "'","~" => "~", "!" => "!","@" => "@","|" => "|","#" => "#","=" => "=", ":" => ":",";" => ";","," => ",","%" => "%","_" => "_", "№" => "N","&" => "&","¦" => "¦","°" => "°","±" => "±", "²" => "²","³" => "³","‘" => "‘","’" => "’","‚" => "‚", "“" => "“","”" => "”","„" => "„","‹" => "&lsaquo","›" => "›", "→" => "→","←" => "←","↑" => "↑","↓" => "↓","↔" => "↔", "′" => "′","″" => "″","‾" => "‾","⁄" => "⁄","™" => "™", "©" => "©","®" => "®","¼" => "¼","½" => "½","¾" => "¾", "α" => "α","β" => "β","γ" => "γ","Δ" => "Δ","●" => "●", "•" => "•","—" => "—","…" => "…","†" => "†","♥" => "♥", "¡" => "¡","¢" => "¢","£" => "£","¥" => "¥","§" => "§", "¿" => "¿","«" => "«","»" => "»", "\x00" => "","\x01" => "","\x02" => "","\x03" => "","\x04" => "","\x05" => "","\x06" => "", "\x07" => "","\x08" => "","\x09" => "","\x0b" => "","\x0c" => "","\x0d" => "","\x0e" => "", "\x0f" => "","\x10" => "","\x11" => "","\x12" => "","\x13" => "","\x14" => "","\x15" => "", "\x16" => "","\x17" => "","\x18" => "","\x19" => "","\x1a" => "","\x1b" => "","\x1c" => "", "\x1d" => "","\x1e" => "","\x1f" => "","\x7f" => "", html_entity_decode('͏', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('​', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‌', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‍', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‎', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‏', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('
', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('
', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‪', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‫', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‬', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‭', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‮', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('⁠', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('�', ENT_COMPAT, 'UTF-8') => ""); $f_result=strtr ($f_fresh,$zamennik); return $f_result; } function paranoid_small($f_fresh) { // It suppress the ASCII control characters, making the MySQL-requests more secure. // Note that '/n' CONVERTS into '
' (you can change this to "\x0a" or "\n"). $zamennik = array("\x00" => "","\x01" => "","\x02" => "","\x03" => "","\x04" => "","\x05" => "","\x06" => "","\x07" => "","\x08" => "","\x09" => "","\x0a" => "
","\x0b" => "","\x0c" => "","\x0d" => "","\x0e" => "","\x0f" => "","\x10" => "","\x11" => "","\x12" => "","\x13" => "","\x14" => "","\x15" => "","\x16" => "","\x17" => "","\x18" => "","\x19" => "","\x1a" => "","\x1b" => "","\x1c" => "","\x1d" => "","\x1e" => "","\x1f" => "","\x7f" => "", html_entity_decode('͏', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('​', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‌', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‍', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‎', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‏', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('
', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('
', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‪', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‫', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‬', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‭', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('‮', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('⁠', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('', ENT_COMPAT, 'UTF-8') => "", html_entity_decode('�', ENT_COMPAT, 'UTF-8') => ""); $f_result=strtr ($f_fresh,$zamennik); return $f_result; } # Присваиваем подписи айпишникам (для неизвестного выведется он сам), # добавляем определеление UA: $fazenda=paranoid_small(getenv('HTTP_USER_AGENT')); $fazenda=paranoid_small(getenv('HTTP_USER_AGENT')); #echo crc32($fazenda); #if ( crc32($fazenda) == "3258225172" ) { echo "Борис"; } $signatura_crc=crc32($fazenda); if ( "$signatura_crc" == "2211863840" ) { $signatura_crc='ВД'; } $signatura=paranoid_small(getenv('REMOTE_ADDR')); if ( "$signatura" == "77.66.148.26" ) { $signatura='БЗ'; } if ( "$signatura" == "80.254.111.16" ) { $signatura=$signatura_crc ; } if ($_SERVER['REQUEST_METHOD'] == 'POST') { #$cookie_set = setcookie ("addedafterpost11", "bulka100500", time()+86400*365, "/", "technodrive.ru", 0, 1); //Добавляем в конец файла безопасный контент (для mysql нужен будет ещё один фильтр!): $f = fopen("discussion.txt", "a+"); // было a и w $replika=paranoid($_POST['name']); # $replika=date("d/m H:i")." ".$replika." =$signatura\n"; # $replika=$replika."\n".'======================================'."\n"; fwrite($f, $replika); $log_time = date("[d/M/Y:H:i:s "); $log_ip = getenv('REMOTE_ADDR'); $log_userAgent = getenv('HTTP_USER_AGENT'); $log_referrer = getenv('HTTP_REFERER'); $log_query = getenv('REQUEST_URI'); $log_protokol= getenv('SERVER_PROTOCOL'); $log_replika = $log_ip . " - - " . $log_time.' +0300] "GET '.$log_query.' '.$log_protokol.'"'.' 999 666 "'.$log_referrer.'" "'.$log_userAgent.'"'; $log_replika=paranoid_small($log_replika)."\n".'======================================'."\n"; fwrite($f, $log_replika); fclose($f); echo " Спасибо, мы постараемся как можно быстрее связаться с вами!

Через 10 секунд вы будете перенаправлены
на главную страницу TechnoDrive.ru
"; die; } else { echo ' '; } ?>



░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"; $mass = file("discussion.txt"); $mass = array_reverse($mass); $mass = array_reverse($mass); foreach($mass as $num) # echo $num."
"; # echo "

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

"; # $f = fopen("discussion.txt", "r"); # // Читать построчно до конца файла # while(!feof($f)) { # echo fgets($f) . "
"; # } # fclose($f); ?>