run php from java

Tags: ,



Is there a way to run php server**(remote)** scripts from a java program (with secured/encrypted connection).

Answer

Visit (make post or get HTTP request) php page from your java program, for example, via HttpUrlConnection type



Source: stackoverflow