Advertisement
michaelyuen

Untitled

Mar 11th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. /*
  3. * libs/functions.php
  4. */
  5.     xssClean($input) {
  6.         return htmlspecialchars($input); //this way, you can reuse and improve your script from time to time
  7.     }
  8. ?>
  9.  
  10. <?php
  11.     require_once 'db/db.php';
  12.     require_once 'libs/functions.php';
  13.     $output = 'Hello World'
  14.     echo xssClean($output);
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement