NoRelect
NoRelect

Reputation: 608

Execute a jar file from a php script

I am new to php and i have a question: Is it possible to start a jar file from php?

Have you ever heard of a way to accomplish?

Thy only way i know is the

exec()

or

shell_exec()

function.

Upvotes: 0

Views: 375

Answers (1)

Abdulla Nilam
Abdulla Nilam

Reputation: 38609

shell_exec returns all of the output stream as a string.

shell_exec()

exec returns the last line of the output.

exec()

And duplicate of php shell_exec() vs exec()

Upvotes: 1

Related Questions