Re: QuickForm_Controller touches $_POST ?

From: Date: Sun, 11 Jul 2004 05:34:05 +0000
Subject: Re: QuickForm_Controller touches $_POST ?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31843@lists.php.net to get a copy of this message
On Sun, Jul 11, 2004 at 02:10:10AM +0200, Matthias H. Risse wrote: > Is it possible that QFC touches the $_POST variable? > > When doing a dump _before_ this call > > $qfc->run(); > > i get the usual dump. When doing it _after_ > the command the $_POST-array is empty. Empty? Or are you just unable to do a while loop on it? What does count($_POST) show before and after? I know nothing about that package, but knowing about arrays, I'm guessing that the array pointer is at the end of the array because QFC looped through it already. So, either do a reset() before calling while or use a foreach loop instead. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#31843) next »