[Typo3] $_POST['MyVar'] doesn't work!!
rod at biba.uni-bremen.de
Tue Dec 6 18:37:00 CET 2005
bamba thiam wrote on 06.12.2005 17:52:
> i want to use $_POST['MyVar'] in a file of an extension.
> The syntax is right But i can't get the content of the $_POST['MyVar'].
> does typo3 have an other why to get the content of $POST['MyVar']?
you could either use $this->piVars['MyVar']  which stores POST and
GET data or you can use t3lib_div::_GP('MyVar'),
t3lib_div::_GET('MyVar') and t3lib_div::_POST('MyVar')  to access the
submitted data directly.
More information about the TYPO3-english