pbd-kn/contao-inputvar-bundle

get/set Input Variables

Installs: 783

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 3

Open Issues: 2

Type:contao-bundle

pkg:composer/pbd-kn/contao-inputvar-bundle

2.0.9 2025-10-02 13:36 UTC

README

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the [project website][1] for more information.

inputvar stellt inserttags zum lesen und schreiben von GET POST und SESSION Varibale zur Verfuegung

{{get::var[::opt]}} // variable aus _GET {{post::var[::opt]}} // variable aus _POST {{posthtml::var[::opt]}} // variable aus _POST (belaesst erlaubte HTML-Tags im Wert) {{postraw::var[::opt]}} // variable aus _POST (ohne grosse Sicherheitsueberpruefung -> UNSICHER!) {{cookie::cookie[::opt]}} // variable aus _COOKIE {{session::var[::opt]}} // variable aus _SESSION {{setpost::var::value} // setzt variable in _POST {{setget::var::value} // setzt variable in _GET {{setcookie::var::value} // setzt variable in _COOKIE

Gueltige FunktionsOptions

mysql_real_escape_string

addslashes, stripslashes, standardize, ampersand, specialchars

nl2br, nl2br_pre, strtolower, utf8_strtolower, strtoupper

utf8_strtoupper, ucfirst, lcfirst, ucwords, trim, rtrim, ltrim

utf8_romanize

strlen, strrev

decodeEntities, encodeEmail, number_format, number_format_2

ANSI wandelt utf8