My question is, what can be done to prevent malicious search phrases in mysql databases?
Search terms spamming example:
guayabera en espa�a//?option=com_product//catalog/seo_sitemap/account//index2.php?option=c
I'm thinking of doing this in PHP by preventing a query with the
? character. Or perhaps to simply block IP addresses from using the search function. Is there a better way?