Php Through java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kishmish
    New Member
    • Jun 2011
    • 4

    Php Through java

    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
  • nathj
    Recognized Expert Contributor
    • May 2007
    • 937

    #2
    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

    Comment

    • Kishmish
      New Member
      • Jun 2011
      • 4

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

      Comment

      • nathj
        Recognized Expert Contributor
        • May 2007
        • 937

        #4
        Ok, I've not actually done this before but this link looks potentially useful.

        Comment

        • Kishmish
          New Member
          • Jun 2011
          • 4

          #5
          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?

          Comment

          • nathj
            Recognized Expert Contributor
            • May 2007
            • 937

            #6
            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

            Comment

            • Kishmish
              New Member
              • Jun 2011
              • 4

              #7
              anyways will try sumother method.
              Thanx nathj........

              Comment

              Working...