-
2005-05-24
nemo
On all my test, if I put some php code, the parser put it on the top of my page.
For example :
(code)
1 line
<php> echo "2 line"; </php>
3 line
(Output)
2 line
1 line
3 line
Any hints how to fix it ?
Regards,
nemo
-
2005-05-25
calle
Try this:
1. line
<php> $this->doc .= "2. line"; </php>
3. line
.. but that's not supposed to be that way.
-
2005-05-25
nemo
Ok thanks.
That's a nice work around.
I made some tests, it's seem that the output buffering under php give some strange results, specially with some older php4.1 versions.
Regards,
Nemo
-
2005-05-25
calle
I'm experiencing the same with PHP 5.0.4 and the latest darcs-pull of dokuwiki. Someone should look into this / update the documentation on <php>.
-
2005-05-30
andi
There were parenthesises missing on the output buffer calls. I hope this fixed the problem. If not request a reopen.
-
Related tasks: