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.

http://docs.php.net/manual/en/function.exec.php


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -