[TYPO3-english] t3lib_div::_GP don't work on 6.2 ?

TSniper masmoudi_moha at yahoo.fr
Mon Jan 25 12:27:52 CET 2016


i have migrated a project from 4.5 to 6.2.

I have a page with a product, the connected user can edit the product from the frontend.
When the user click on the edit button, an popup (iframe) is opened with the product info.

Form the php code side, we have this iframe with an src link with parameters like this :
(<iframe src="index.php?type=1296727025&tx_myextension_pi1[productID]=245">...</iframe>

we read this _GET like this

$myVars = t3lib_div::_GP('tx_myextension_pi1');
j'ai aussi essayer ça
$myVars = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('tx_myextension_pi1');

but it is empty, this is the problem, this $myVars should return the some values about this product.

What i'm missing ? is there is somthing else i should do ?
All this was workng well on the 4.5 version.

Thanks in advance for your kind help.

More information about the TYPO3-english mailing list