Skip to content

Instantly share code, notes, and snippets.

@Rachind
Created October 3, 2016 19:52
Show Gist options
  • Save Rachind/20273ff8af5e08e53276a6c366aa4cb0 to your computer and use it in GitHub Desktop.
Save Rachind/20273ff8af5e08e53276a6c366aa4cb0 to your computer and use it in GitHub Desktop.
REQUEST filter
<?php
function flt($input_text) {
return mysql_escape_string(htmlspecialchars(strip_tags(trim($input_text))));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment