Advertisement
tobitaz

Textgila

Jul 29th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. <font style="font-size:40px;">TEXT GILA GENERATOR</font><br /><br /><?php
  2.  
  3. $text = $_POST["text"];
  4.  
  5. if($text != null)
  6. {
  7. $a = array("/a/", "/b/", "/c/", "/d/", "/e/", "/f/", "/g/", "/h/", "/i/", "/j/", "/k/", "/l/", "/m/", "/n/", "/o/", "/p/", "/q/", "/r/", "/s/", "/t/", "/u/", "/v/", "/w/", "/x/", "/y/", "/z/", "/A/", "/B/", "/C/", "/D/", "/E/", "/F/", "/G/", "/H/", "/I/", "/J/", "/K/", "/L/", "/M/", "/N/", "/O/", "/P/", "/Q/", "/R/", "/S/", "/T/", "/U/", "/V/", "/W/", "/X/", "/Y/", "/Z/");
  8.  
  9. $r = array("4", "8", "c", "d", "e", "f", "9", "h", "1", "j", "k", "l", "m", "n", "0", "p", "q", "r", "5", "t", "u", "v", "w", "x", "y", "z", "4", "8", "C", "D", "E", "F", "G", "H", "1", "J", "K", "L", "M", "N", "0", "P", "Q", "R", "5", "7", "U", "V", "W", "X", "Y", "Z");
  10.  
  11.  
  12. $tuka = preg_replace($a, $r, $text);
  13.  
  14. echo "result:<br /><textarea cols='50' rows='50'>".$tuka."</textarea>";
  15. }
  16. else
  17. {
  18. echo '<form action="" method="post">
  19. Text:<br /><textarea cols="50" rows="50" name="text"></textarea>
  20. <br />
  21. <input type="submit">
  22. </form>';
  23. }
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement