[Typo3-dev] Problems with piVars

Andreas Otto andreas at php4win.de
Thu Feb 19 11:37:14 CET 2004


Hi,

it looks like I was stumbling over my own feet ;-)

On Thursday 19 February 2004 11:11, Andreas Otto wrote:
> I can pick up the values I need using $_POST but this should not be the
> case. Maybe someone can give me a hint what I might be overseeing here.

Before I was using the data from piVars I was trimming whitespace from piVars:

foreach($this->piVars['DATA'] AS $key => $val) {
	$this->piVars['DATA'][$key] = trim($val);
}

Of course this was messing up the array in 'broschuere' ;-)


Cheers,
Andreas

-- 
Andreas Otto <andreas at php4win.de>
Using PHP on Windows? www.php4win.de





More information about the TYPO3-dev mailing list