Guest User

Untitled

a guest
May 25th, 2010
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.66 KB | None | 0 0
  1. $text = file_get_contents($_FILES["pwp_file"]["tmp_name"]);
  2. $text = str_replace("Б","к",$text);
  3. $text = str_replace("Ж","т",$text);
  4. $text = str_replace("№","в",$text);
  5. $text = str_replace("»","д",$text);
  6. $text = str_replace("Р","ю",$text);
  7. $text = str_replace("ѕ","з",$text);
  8. $text = str_replace("О","ь",$text);
  9. $text = str_replace("ј","ж",$text);
  10. $text = str_replace("Н","ы",$text);
  11. $text = str_replace("Й","ч",$text);
  12. $text = str_replace("є","г",$text);
  13. $text = str_replace("ї","и",$text);
  14. $text = str_replace("В","л",$text);
  15. $text = str_replace("‰","е",$text);
  16. $text = str_replace("Г","м",$text);
  17. $text = str_replace("Д","н",$text);
  18. $text = str_replace("С","я",$text);
  19. $text = str_replace("Џ","г",$text);
  20. $text = str_replace("Е","п",$text);
  21. $text = str_replace("Л","щ",$text);
  22. $text = str_replace("К","ш",$text);
  23. $text = str_replace("ё","б",$text);
  24. $text = str_replace("П","э",$text);
  25. $text = str_replace("З","ф",$text);
  26. $text = str_replace("А","й",$text);
  27. $text = str_replace("Ь","Ш",$text);
  28. $text = str_replace("А","й",$text);
  29. $text = str_replace("И","ц",$text);
  30. $text = str_replace("‘","Д",$text);
  31. $text = str_replace("§","Ф",$text);
  32. $text = str_replace("Ї","</b>",$text);
  33. $text = str_replace("ќ","И",$text);
  34. $text = str_replace(""," ",$text);
  35. $text = str_replace("","<br />",$text);
  36. $text = str_replace("","<br />",$text);
  37. $text = str_replace("®","<b>",$text);
  38. $text = str_replace("›","",$text);
  39.  
  40. $text = str_replace("¤","Л",$text);
  41. $text = str_replace("Ґ","П",$text);
  42.  
  43. $lolor=explode("<br />",$text);
  44. array_shift($lolor);
  45. $text=implode("<br />",$lolor);
  46. print $text;
Advertisement
Add Comment
Please, Sign In to add comment