Anything like JNI for PHP?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roger  Lord

    Anything like JNI for PHP?


    In java you can call native programs. I'd like to be able to do that
    from php. Is that possible?


  • Colin McKinnon

    #2
    Re: Anything like JNI for PHP?

    Roger Lord wrote:
    [color=blue]
    >
    > In java you can call native programs. I'd like to be able to do that
    > from php. Is that possible?[/color]



    HTH

    C.

    Comment

    • Brion Vibber

      #3
      Re: Anything like JNI for PHP?

      Roger Lord wrote:[color=blue]
      > In java you can call native programs. I'd like to be able to do that
      > from php. Is that possible?[/color]

      PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


      -- brion vibber (brion @ pobox.com)

      Comment

      • Andy Hassall

        #4
        Re: Anything like JNI for PHP?

        On Wed, 01 Sep 2004 07:05:33 -0400, Roger Lord <rlord17889@yah oo.com> wrote:
        [color=blue]
        >In java you can call native programs. I'd like to be able to do that
        >from php. Is that possible?[/color]

        A probably incomplete list would be: exec(), system(), shell_exec(),
        backticks, popen(), proc_open(), passthru(), compiled extensions, all of which
        are in the manual.

        --
        Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
        <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

        Comment

        Working...