[GAP Forum] GAP and PHP

Mathieu Dutour mathieu.dutour at gmail.com
Fri Oct 11 10:55:04 BST 2013


There are two conceivable solutions:
1) write a GAP program from the PHP and do the output
in the GAP program. Read the output from the GAP program.
Procedure for run
gap.sh < prog.g
So, one computation corresponds to one GAP session.

2) Again use text files and use a system with have both of them
running continuously on some infinite loop. After one text
file "F" is created, create a second one "F.finish" indicating
that F is finished and can be processed.

Those are elementary ways, you have also the streams as
possibility. But I would advise first for simple strategies before
going for more complex harder to debug ones.

  Mathieu


On Fri, Oct 11, 2013 at 11:41 AM, <szgycs at szemerja-szasz.hu> wrote:

> How can I exchange data between GAP and PHP?
>
> ______________________________**_________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/**mailman/listinfo/forum<http://mail.gap-system.org/mailman/listinfo/forum>
>


More information about the Forum mailing list