Created
December 14, 2022 21:37
-
-
Save relipse/14b6ad688b348cc47026c20d82cef583 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function strip_unsafe_fnchars($input){ | |
return str_replace(['#','|','`','+','@',':','"',"'",'!','$',' ','/','\\', | |
'?','*','>','<','{','}','%'],'', $input); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment