[pmwiki-users] Allows forms to default to params passed by URL

Ed W lists at wildgooses.com
Wed Apr 5 18:39:16 CDT 2006


>If you're using 2.1.0 or later, try the following in your 
>config.php:
>
>    $InputValues = $_GET;
>
>This tells input forms to take their default values from the $_GET
>array.
>  
>

Hmm, very, very interesting. 

I guess I can do something like

    $InputValues = $_PUT

If I prefer post values?

Can I use the superglobals thing as well (name escapes me right now) 
which gives me the union of post and get?  In my situation I would 
probably prefer post variables

Very cool feature.  Thanks

Ed W






More information about the pmwiki-users mailing list