PHP Tutorial String Filter
Basic
- Check if a variable of a specified input type exist in PHP
- Encode unwanted characters in PHP
- Filter HTML-escapes special characters in PHP
- Filter a variable with the specified filter in PHP
- Filter multiple variables in PHP
- Filter performs the addslashes() function to a string in PHP
- Get an array of all supported filters in PHP
- Get external variables (like form input) and filter them in PHP
- Use FILTER_CALLBACK filter to call a user defined function to filter the value in PHP
- Validate value against a Perl-compatible regular expression in PHP
- Validate value as a boolean option in PHP
Number
- Get the ID number of a specified filter in PHP
- Remove all illegal characters from a float number in PHP
- Remove all illegal characters from a number in PHP
- Validate a value as a float number in PHP
- Validate value as integer in PHP
URL
- Remove all illegal URL characters from a string in PHP
- Strip or URL-encodes unwanted characters in PHP
- Validate URL with parametera in PHP
- Validate value as a URL in PHP
- Remove all illegal e-mail characters from a string in PHP
- Validate value as an e-mail address in PHP