Contao Open Source CMS > Enhance > Extension list > [inputvar] External Variables 1.1.0 stable

Extensions > inputvar

[inputvar] External Variables

Use GET and POST parameters as inserttags

The module provides the following inserttags:

{‎{get::var}}
{‎{post::var}}
{‎{postRaw::var}}
{‎{postHtml::var}}
{‎{session::var}}
{‎{cookie::var}}

Using this Insert-Tags can affect the security of your website and open XSS security holes. Installing and using this module is only recommended for advanced users!
Be also aware that Insert-Tags can be used by all users, not only administrators.

Version1.1.0 stableTypeFree
Release date2011-02-24CategoryUtility
LicenseLGPL
Copyright© 2008-2011 Andreas Schempp
AuthorAndreas Schempp (andreas.schempp) http://www.iserv.ch/
Release notes and change log for 1.1.0 stableOther versions

Since version 1.1 you can pass a function name as third parameter to pass the string trough.

Excample: {{get::var::strtoupper}}

The following PHP functions are supported:

  • 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

The following Contao functions are supported (String Library):

  • decodeEntities
  • encodeEmail

Additionally, you can format numbers according to the current page language:

  • number_format (no decimal digits)
  • number_format_2 (two decimal digits)
1.0.0 stable
1.0.1 stable
1.0.2 stable
1.0.3 stable
1.0.4 stable
Release downloads95Total downloads429
Release installs520Total installs926
Release updates123Total updates176
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.6.0 stable2.11.2 stable
NameVersion fromVersion to
PackageSizeDate
Contao_inputvar_10010009_7.zip40922012-03-21 11:10