C

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

    #1

    C

    Anybody know of a way to use C from php ?

    Thanks


  • Nikolai Chuvakhin

    #2
    Re: C

    "Jeffrey Silverman" <jeffrey@jhu.ed u> wrote in message
    news:<pan.2003. 08.20.13.30.50. 245904@jhu.edu> ...[color=blue]
    > On Wed, 20 Aug 2003 15:22:11 +0200, LC wrote:
    >[color=green]
    > > Anybody know of a way to use C from php ?[/color]
    >
    > If you write a C program, you can access it via system() or passthru()
    > or a couple of other similar functions.[/color]

    Alternatively, if you have a library written in C (*.dll on Windows
    or *.so on Linux) you can link it to it using dl() function.

    Cheers,
    NC

    Comment

    • KAH

      #3
      Re: C

      "LC" <laurent.chenu@ adhocsys.net> wrote in news:3f4375fd$0 $9620$7a628cd7
      @news.club-internet.fr:
      [color=blue]
      > Anybody know of a way to use C from php ?[/color]

      Look at the Zend API docs in the manual. Here's the chapter on extension
      creation:
      PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


      KAH

      Comment

      Working...