RE: [PHP-DB] PHP script calling C/C++ api
| From: | Arthur Yeo | Date: | Fri, 07 Jul 2000 21:35:29 +0000 |
| Subject: | RE: [PHP-DB] PHP script calling C/C++ api | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5467@lists.php.net to get a copy of this message | ||
>> Does anyone know how I can call an existing C/C++ api from within
>> a PHP script? I heard that there's a way for ASP to do it thru ISAPI dll.
>>
>> Coming from any angle, can a PHP script access an api
>> sitting in another Apache module?
>Isn't it the same as doing an "exec(executable.cpp)" in PHP?
>Before doing
>this I think you need to make it executable by others.
>
>- Bernie
I don't think exec() is for executing a C++ function, let alone a C++ file.
exec() is for executing a compiled binary program.