Re: QuickForm Question

From: Date: Tue, 28 Oct 2003 17:30:57 +0000
Subject: Re: QuickForm Question
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8657@lists.php.net to get a copy of this message
Hi there, $_POST is not read-only. Andreas 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


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