Hello,
I am developing a simple form to collect user information. I want a sample PHP code, that will validate the input string to display whether it has any of the below list of special character in the string.
Special Characters ( - & ’ " / \ % * # )
Can one of please help me. More detailed info below:
I have a form that submits the input to a PHP modules using Ajax Post. When my PHP modules reads the POST values, it should validate to check if the special characters are available, if it is available then display “No special characters allowed”
Anyones help will be so greatful
Thank you.
Vim