On 04/03/07, Bowo Prasetyo <prazjp at gmail.com> wrote:
>
> I have just created a PHP program to access Maxima on the server
> interactively from a website. I call it MaximaPHP.
>
> http://www.my-tool.com/mathematics/maximaphp/
>
Dear all,
I have just upgraded MaximaPHP to allow plotting graphics using plot2d
and plot3d commands. You can embed plot commands such as..
plot2d (sin(x), [x, -5, 5], [gnuplot_term, dumb]);
plot2d (sec(x), [x, -2, 2], [y, -20, 20], [nticks, 200]);
my_preamble: "set pm3d at s; unset surface; set contour; set cntrparam
levels 20; unset key";
plot3d(atan(-x^2 + y^3/4), [x, -4, 4], [y, -4, 4], [grid, 50, 50],
[gnuplot_pm3d, true], [gnuplot_preamble, my_preamble]);
etc.. into textarea.. and MaximaPHP will embed the graphics back into
the sheet.. [gnuplot_term] can be set either to 'png' (default) or
'dumb'.. (I like it.. :-)
Additionally.. security measures have been also modified to ban
gnuplot system calls as well.. such as..
shell, system, ` (backtick operator), and ! (exclamation mark)
Please let me know if there are another system related functions that
need to be banned.
Best regards,
bowo