This class can filter input of stray or malicious PHP, Javascript or HTML tags and to prevent cross-site scripting (XSS) attacks. It should be used to filter input supplied by the user, such as an HTML code entered in form fields.
I have tried to make this class as easy as possible to use. You have control over the filter process unlike other alternatives, and can input a string or an entire array to be cleaned (such as $_POST).
** SQL Injection feature has been added.
| Link |
Description |
| Classe php per filtrare gli input degli |
Classe php per filtrare gli input degli utenti... |
| Cleaning up your inputs |
Cleaning up your inputs from $_POST, $GET and $_REQUEST is an important task if you re looking at security of your PHP applications. You can prevent most kinds on Cross Site Scripting (XSS) attacks if you know how to clean up the user inputs. Her... |
| Cleaning up Your Inputs in PHP |
Cleaning up your inputs from $_POST, $GET and $_REQUEST is an important task if you’re looking at security of your PHP applications... |
| Cleaning Up Your Inputs In PHP |
Cleaning up your inputs from $_POST, $GET and $_REQUEST is an important task if you’re looking at security of your PHP applications... |
| Filtering Out Unwanted XHTML/HTML Tags |
For a project I am working on right now, I wanted to allow users to add a little bit of HTML in a description field, but not too much. I only wanted to allow a few tags and a few attributes. I, never one to reinvent the wheel, headed to Google (a programmer’s best friend) on a code hunt. I tried several php filter functions and classes and I was left wanting. I was just about to give up and write something myself when I stumbled across the PHP Input Filter class on PHP Classes.org (you have to be a member to download code, but membership is free)... |
| Filtering output with a white list |
- |
| Filtra tus input con "inputfilter" |
Esta clase puede filtrar la entrada de las etiquetas perdidas o malévolas de PHP, del Javascript o del HTML y prevenir ataques scripting del XSS (XSS)... |
| Funktion/Klasse wie htmlentities(), aber gewisse Tags erlauben |
Ich benutzte die folgende Klasse dafür:... |
| InputFilter, Protege tus variables en PHP de XSS |
Uno de los problemas más comunes del internet es la vulnerabilidad cross-site scripting XSS, este tipo de vulverabilidad está en que normalmente no se validan correctamente los datos de entrada que son usados en cierta aplicación... |
| PHP Input Cleaning Class |
If you need a nice class that will clean pretty much anything for your PHP app, grab this class... |
| Server Side Validation - Importance |
Time and again, there are countless number of articles written on not to trust user input and do a server side validation of all input... |
| Teketek.com ve XSS açigi |
Bugün Türkiye'nin popüler alisveris sitesi Teketek.com'da ürünlere gözatarken, XSS'i (Cross-Site Scripting) test amaciyla arama kutusuna JavaScript kodu yazdim ve çalısti |