Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * libs/functions.php
- */
- xssClean(string $input) {
- return htmlspecialchars($input); //this way, you can reuse and improve your script from time to time
- }
- ?>
- <?php
- require_once 'db/db.php';
- require_once 'libs/functions.php';
- $output = 'Hello World'
- echo xssClean($output);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement