[pmwiki-devel] Question about Forms & Actions

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 11 10:52:13 CST 2006

On Mon, Dec 11, 2006 at 10:05:57AM -0600, Ben Stallings wrote:
> > return "(:input form $ScriptUrl post:)
> >         (:input hidden n $pagename$u$o:)
> >         (:input hidden action zap:)
> >         (:input hidden ZAPkey $x:)";
> Beyond the line breaks, it's not the same, because $ScriptUrl only gets 
> you the URL of pmwiki.php, while $ScriptUrl?n=$pagename gets you the URL 
> of the page.  Maybe there's a more elegant way to get the URL of the 
> page, but $ScriptUrl is not sufficient.

$PageUrl is the url of a page.


More information about the pmwiki-devel mailing list