This is a discussion on C within the PHP Language forums, part of the PHP Programming Forums category; Anybody know of a way to use C from php ? Thanks...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"Jeffrey Silverman" <jeffrey@jhu.edu> wrote in message
news:<pan.2003.08.20.13.30.50.245904@jhu.edu>... > On Wed, 20 Aug 2003 15:22:11 +0200, LC wrote: > > > Anybody know of a way to use C from php ? > > If you write a C program, you can access it via system() or passthru() > or a couple of other similar functions. 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 |
|
|||
|
"LC" <laurent.chenu@adhocsys.net> wrote in news:3f4375fd$0$9620$7a628cd7
@news.club-internet.fr: > Anybody know of a way to use C from php ? Look at the Zend API docs in the manual. Here's the chapter on extension creation: http://www.php.net/manual/en/zend.creating.php KAH |