Re: QuickForm Question

From: Date: Tue, 28 Oct 2003 17:23:45 +0000
Subject: Re: QuickForm Question
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8656@lists.php.net to get a copy of this message
On Tuesday 28 October 2003 11:13, Jeroen Houben wrote: > James 'Chip' Kaufman wrote: > >Thanks for the responses. Of course, three minutes after I sent the > >message, I saw this in element.php: > > > >// constant values override both default and submitted ones > >// default values are overriden by submitted > > > >Is there a downside to doing "$_POST=array();" prior to > > instantiating the object? > > well I don't think you can. $_POST is a "superglobal" which is > read-only. Surely your problem could be solved somewhere else in your > code. > > HTH > Jeroen Amazingly enough, I *can* clear the $_POST array and it solves my problem. If it is not a clean approach, I will try something else. -- James 'Chip' Kaufman jkaufman@wamnetgov.com 952-346-3532 PGP key: 697D43DE

« previous php.pear.general (#8656) next »