[pmwiki-users] Wikipaths

Patrick R. Michaud pmichaud at pobox.com
Fri Sep 8 08:07:49 CDT 2006


On Fri, Sep 08, 2006 at 09:02:24AM -0400, Pico wrote:
> Patrick R. Michaud wrote:
> >    {$?var}                     value of "var" from query string
> 
> Can you write about these variables from query string when you get a chance?
> 
> Are they the same as Dominique's UrlSetVar in 
> Cookbook/PageVariableExtensions?

Somewhat, but they're really more like the get_var variables
from Cookbook.HttpVariables .

The idea is that if a page is accessed with a url like

    http://www.example.com/pmwiki.php/Main/HomePage?xyz=abc

then the markup {$?xyz} would return "abc".

> Are they completely independent of Group.PageName and #section, or could 
> a given variable have different values according to the prefixed 
> portions of the url (Group.PageName and #section)?

They're straight out of the url, thus largely independent of Group.PageName
and #section.

Pm




More information about the pmwiki-users mailing list