[dokuwiki] Embedded PHP loses variables

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 7 Jun 2010 15:52:41 +0100

I've been trying to run some bits of embedded PHP in a wiki page and
after a fair amount of tearing of hair I've discovered that all
variables get stripped out of the code.

So for example I put:-

    <php> $x = "a string" </php>

... and what gets parsed is:-

    = "a string"

... which not surprisingly doesn't work very well.  So, what's
stripping out the variables?

-- 
Chris Green

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: