Calling Prolog from php

See this answer for the PHP code in this rather long thread, where we attempted to help to publish on a standard PHP server a Prolog solver.

HTH