Command for calling swi-prolog from php
<p>I am working with prolog and php. I am using php, to call prolog.
I am using swi-prolog  Version 7.1.17 and  XAMPP 1.7.7 [PHP: 5.3.8].<br>My command :<br><br>
<code>$cmd ='swipl -q -f C:\Users\MyComp\Desktop\test.pl -g test,halt';</code><br><br>
Here <code>C:\Users\MyComp\Desktop\test.pl</code> is prolog file directory. It is worked properly. but Now I update the XAMPP version(above 1.7.7) then it is not work. but the command it is work properly in cmd in windows.How can i solve this kind of problem? Any command will using All XAMPP version for call prolog from php.</p>