[TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike)

Martin Kutschker martin.kutschker-no at spam-blackbox.net
Fri Jun 6 13:53:30 CEST 2008


Franz Koch schrieb:
> But 
> besides of that, when I call a function named 't3lib_div::_GP' or 
> 't3lib_div::GPvar', then I assume that I get the according values of 
> BOTH and not only one of them.

RTFM for t3lib_div::_GP()

	 * Returns the 'GLOBAL' value of incoming data from POST or GET, with 
priority to POST (that is equalent to 'GP' order)
	 * Strips slashes from all output, both strings and arrays.

In what way should BOTH values be returned back in a single return 
value? I see then bo advantage in accessing $_GET and $_POST directly.

Masi





More information about the TYPO3-dev mailing list