_GET und _POST Validieren on the Fly

Mit diese simplen Funktion lassen sich einzelne Variablen oder ein Array über eine Funktion "entschärfen". e() entfernt HTML-Tags sowie Leerzeichen am Anfang und am Ende der Strings.

Der zweite Parameter ist optional und sorgt bei true dafür dass String-Variablen für MySQL-Queries getrimmt werden: Escape-Zeichen einsetzen bei Sonderzeichen wie z.B. Anführungszeichen.

Reviews

There are no comments available yet.

Here you can write a comment


Please enter at least 10 characters.
Loading... Please wait.
* Pflichtangabe
ANG GES G P
To make things more interesting and to make it truly re-useable, I'm going to make it totally generic so we can use it again and again for differi ...
ANG GES G P
This is a collection of problems in PHP. I found them during my daily work with PHP where I develop Applications for the web. There are always ...
ANG GES G P
Separating content from presentation is much talked about, and the way to solve that has been using one of the many template classes out there.
ANG GES G P
LDP FolderReader das wohl bekannsteste Project von little-devi.de Mit dem LDP FolderReader ist es sehr einfach möglich den Inhalt eines Ordne ...
ANG GES G P
This is an Apache mod_autoindex modification to make IIS style directory listings (but, better) and a PHP3 script which does the same. This modifi ...
ANG GES G P
Notizen können in klassischer Form unter der Verwendung von Bleistift und Papier verfasst werden - es geht aber auch online. Der PHP Notizblock ...
ANG GES G P
Welcome to the first issue of "Code Gallery Spotlight", a weekly column that will spotlight an interesting code snippet or application in our code ...
ANG GES G P
Unser Rechnungssystem im der V 2.0, ist der Nachfolger unseres Rechnungenssystems V 1.0, bietet zahlreiche neue Funktionen und ein neues Design!Mi ...
1043 x viewed
0 x memorized
Details to the advertisement
ANG GES G P
Make a request

You are no longer logged in as a user. Please enter your name and your E-mail-adress!

Loading... Please wait.
Details to the seller