By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,614 Members | 1,653 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,614 IT Pros & Developers. It's quick & easy.

C

P: n/a
LC
Anybody know of a way to use C from php ?

Thanks
Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Jeffrey Silverman" <je*****@jhu.edu> wrote in message
news:<pa****************************@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
Jul 16 '05 #2

P: n/a
KAH
"LC" <la***********@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
Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.