|
Posted by Ian Collins on 03/21/06 08:34
x0054 wrote:
> I am simply experimenting in this area, but are there any tutorials on
> integrating C++ or ASM binaries with PHP? For instance, I have an
> application in PHP that reads a rather large matrix of data from a
> database and then needs to structure it into a tree. Well, it works fine
> in PHP, but it would be a lot faster in C++. I was thinking of exporting
> the tree function to C++ so that I would have a faster execution time of
> my PHP script.
>
You're talking about a PHP extension.
> Is there a way to have like a function type interface in PHP to a binary
> without writing a PHP module and installing it on a system? Other then the
> obvious, just using standard output/input.
>
Have a look at
http://www.zend.com/php/internals/extension-writing1.php
--
Ian Collins.
Navigation:
[Reply to this message]
|