[pmwiki-users] cookbook: HttpVariables

Martin Fick mogulguy at yahoo.com
Thu Feb 14 13:00:58 CST 2008


--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> On Thu, Feb 14, 2008 at 09:12:52AM -0800, Martin
> Fick wrote:
> > I have it installed on the latest pmwiki on my
> site
> > and I see that it is not working.  The global
> $_GET...
> > variables seem to be unset.  I gather this is some
> > security improvement that has been added to pmwiki
> > lately?  I can't quite figure it out yet, what am
> I
> > suppose to use instead?
> 
> 
> AFAICT, PmWiki doesn't do any unsetting of $_GET or
> the other superglobals.  There must be something
> else going on...?
> 
> I've tried the httpvariables.php script on a fresh
> checkout of PmWiki and it seems to work fine for me.
>  You can experiment with it there also at:
> 
>
http://www.pmichaud.com/sandbox/httpvar/pmwiki.php/Main/WikiSandbox?xyz=abc
> 
> Perhaps it's related to the version of PHP?

Hmm, that's funny I have it working on the same server
(and thus same php) with an older version of pmwiki,
but it fails with the latest pmwiki!?  To debug I put
an explicit echo for the specific $_GET variable that
I need in my function and it isn't set.  If you are
not unsetting it, and php is supposedly not (since it
works on the other install), than something really
weird is happening.  For the record, I seem to be
running apache-mod-php 4.3.10 (debian .21),

-Martin



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the pmwiki-users mailing list