Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <html>
  2. <meta charset=utf-8>
  3. <body>
  4. <p>welcome to the game!</p>
  5. <?php
  6. $input=$_GET["xss"];
  7. $clearspace= preg_replace('/\s+/', '', $input);
  8. $filterslash=str_replace("/","",$clearspace);
  9. $filtered=htmlspecialchars($filterslash);
  10. if (mb_strlen($filtered,'utf-8') < 16)
  11. {
  12. $normalized=Normalizer::normalize($filtered, Normalizer::FORM_KD);echo $normalized;
  13. }
  14. ?>
  15. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement