How to combine PHP and Prolog -
i'm trying call prolog using php script. i'm using syntax found here, is:
$cmd = "nice -n15 /software/bin/pl -f /home/popx/cgi-bin/test.pl -g test,halt"; the program /bin/pl have prolog installed, , /home/popx/cgi-bin/test.pl location of file consulted. after changing paths accordingly, no output. can me, , give me pointers?
i'm conversant questions how use prolog php?, , invoking swi-prolog php, not answer question.
you cannot retrieve output system(). use exec() instead.
Comments
Post a Comment