pbd-kn/contao-inputvar-bundle

get/set Input Variables

1.0.22 2023-12-07 10:22 UTC

This package is auto-updated.

Last update: 2024-05-07 11:19:03 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