C++ integration with PHP
| From: | Zhu George-CZZ010 | Date: | Thu, 01 Feb 2001 22:40:35 +0000 |
| Subject: | C++ integration with PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37740@lists.php.net to get a copy of this message | ||
Does anyone know how to integrate C++ and PHP if there are some data changes between PHP program and
C++ program?
What I can think about is: in PHP, put the data in a file, and use "system" call to
activate the c++ program. After that, let the c++ program to read the data file, and output the
result into another file, and let the PHP to read the result file.
But there is one question: will php wait until C++ program finish if I use "system"
function from PHP?
Is there any better way to do the integration?
Thanks,
G.Z.