Php Through java – PHP

  php

Q(Question):

I am new to php and want to know how to call some java function in php?
i want to call a java code on a button click.Can you please tell me how to do it?

Thanx in advance

A(Answer):

Do you mean Java or JavaScript as they are very different. I just want to make sure I have the right question before I try to answer.

Thanks
nathj

A(Answer):

Its pure java code with few external libraries and jar files…..plz plz plz help….

A(Answer):

Ok, I’ve not actually done this before but this link looks potentially useful.

A(Answer):

actually i am in need of code…. i tried exec command but couldnt find the proper syntax and how to use it for java.Do u have any idea?

A(Answer):

Ok, I’ve never called Java from PHP though I have and do develop in both. Perhaps have a look at the PHP manual.

I can’t provide you with code for this one I’m afraid. But if you post any code you have got so far someone else may be able to help you out.

Cheers
nathj

A(Answer):

anyways will try sumother method.
Thanx nathj……..

LEAVE A COMMENT