On 23/08/06, Chris Bruyere <ccmbruyere(a)yahoo.ca> wrote:
HI All.
I've been trying to get information from a html form.
The $_POST variable is always empty.
Am I doing something wrong?
An HTML form where? Assuming a scope of MediaWiki, is this from an
extension; a special page, etc? If that's the case, something like
global $wgRequest;
$foo = $wgRequest->getText( 'foo' );
should do the trick. See also various other WebRequest functions for
grabbing integers, seeing if checkboxes were passed, etc.
If *not*, then can we have further information? Thanks,
Rob Church