[pmwiki-users] MarkupExpressionsExtensions

Petko Yotov 5ko at free.fr
Tue Apr 17 03:29:54 CDT 2007


On Tuesday 17 April 2007 10:16, Hans wrote:
> > It is not safe because if the expression is not mathematically correct,
> > it will however try to execute it, and this will result in a Fatal Error.
>
> Thank you! This is useful. So I cannot use math functions with this
> math extension? Just the simplest of arithmetic?

Yes you can as long as you write it correctly.

> And how safe are the other components of the package? Since it is
> usually installed as a package all functions are available for users.

I cannot tell you this, currently I do not need it and will not examine / 
install it on a production site. But you can always disable this one function 
by adding (after you included the script):
   unset($MarkupExpr['math']);

Petko




More information about the pmwiki-users mailing list