[dokuwiki] Re: PHP and global question

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 01 Nov 2007 14:35:28 +0100

Morten Lemvigh writes:

Chris Smith wrote:
Is caching disabled for the page with the php?

I just tried to disable caching, but the problem persists.

Stuff inside <php></php> is passed to PHP's eval() function. PHP executed in an eval construct might behave different from a normal script context. Search the froum I think there was a similar question before.

For complex work I recommend to write a real plugin instead.

Andi

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: