Extensions > inputvar

External Variables

[inputvar]

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.

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)
Version
1.1.1
Type
Free
Release date
03.07.2013
Category
Utility
License
LGPL
Copyright
© 2008-2013 terminal42 gmbh
Author
terminal42 gmbh (terminal42)
English transl.
Andreas Schempp (andreas.schempp) http://www.terminal42.ch/
Release notes and change log for 1.1.1
Other versions
Added support for Contao 3
Release functionality
 
Total functionality
0.00
Release usability
 
Total usability
0.00
Release quality
 
Total quality
0.00
Release rating
 
Total rating
0.00 (0 votes)
Release downloads
449
Total downloads
1113
Release installs
2960
Total installs
4538
Release updates
1748
Total updates
1997
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
2.6.0
3.5.40
Name
Version from
Version to