1

Possible Duplicate:
Calling C/C++ library function from PHP

I have some function in C program. I want call this functions from PHP. How can I do this?

1

1 Answer 1

1

This is done quite often in PHP through writing a PHP extensions.

If you know some C, it should not be too hard to write a binding for a single function.

The article is quite old, but it should still be up to date on the simple functions.

http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.