| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Anirban Nath (3) | > | Mission progress status | > | Reputation |
|
||||||||||||||||||||||||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
| This package can validate and sanitize request values using rules. It takes an array of GET or POST request values and another array that defines rules to validate or sanitize the request values. The class can take as rules an array of request values that are required, values that will be validated, and values that will be sanitized. Currently the class can validate email addresses, integers, booleans, IP addresses and URLs. The class can also sanitize URLs, integers, strings, email addresses and floating point numbers. |
| ||||
| This class can detect spam in comments and text messages. It can analyze a given comment text and see if it contains words often used in spam messages. It can also detect if the text has URLs and whether the URLs have words often found in spam page URLs. The class computes a score based on the presence of spam factors and returns to the application that can treat the message as spam if the score is above a given threshold. |
| ||||
| This class can validate and resize uploaded image files. It can verify an uploaded file to check if it does not exceed a certain limit and its type is either GIF, PNG or JPEG images. The class can also resize the image to a certain width and height. |
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |