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.

Version
1.1.0
Type
Free
Release date
24.02.2011
Category
Utility
License
LGPL
Copyright
© 2008-2011 Andreas Schempp
Author
terminal42 gmbh (terminal42)
English transl.
Andreas Schempp (andreas.schempp) http://www.terminal42.ch/
Release notes and change log for 1.1.0
Other 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)
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
221
Total downloads
1113
Release installs
1167
Total installs
4538
Release updates
193
Total updates
1995
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
2.6.0
2.11.6
Name
Version from
Version to