[Mediawiki-l] GET method ?
Borut Tomažin
debijan at gmail.com
Tue Jul 25 18:24:58 UTC 2006
Hello,
I'm having a problem with posting/retrieving arguments via GET method. How
can I postpone few arguments? How can I retrieve them?
With POST method I use to do it like that:
$action = $wgTitle->escapeLocalURL();
<form action='$action' method='post'>
<input type='hidden' name='hidd' value='testing1'>
<input type='submit' name='test' value='test'>
</form>
When I want to retrieve an argument 'hidd' value, I just type:
$retrieved_argument = $wgRequest->getText( 'hidd' );
That's it. Can you help me with GET method ?
Borut
More information about the MediaWiki-l
mailing list