[pmwiki-users] Globals in PmWiki
romat2 at gmail.com
Mon Jan 30 09:52:36 CST 2006
Take a look at http://www.pmwiki.org/wiki/Cookbook/Mailform2. You can
easily customize it for your needs.
Note: Mailform2 uses another cookbook recipe - input.php. This is no
longer necessary (since pmwiki 2.0b48). So you can use your form
definition which is based on built-in pmwiki features.
On 1/30/06, Johs. Lind <lind at geltzer.dk> wrote:
> I'm new to PmWiki, trying to learn.
> In my Sandbox I've made a form like this:
> (:input form method=post action=http://geltzer.dk/pmwiki/index.php:)
> (:input text name=first value="Bob" size=20:)
> (:input hidden name=n value="Main.WikiSandbox":)
> (:input submit name=post value="Go" accesskey=g:)
> (:input end:)
> It works all right as far as it tries to send a message to (and
> activates) the same sandbox. But now the sandbox should be able to
> receive the values that have been sent by the form. With PHP, it would
> be something like $_POST['first']. What do we do ind PmWiki?
> Johs. Lind,
> Spurvevænget 41, DK 6710 Esbjerg V.
> Telefon: 75.46.03.61.
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users