Re: [PHP] C++ integration with PHP

2001-02-01 Thread Toby Butzon
Yes, system() waits for the called program to terminate before PHP execution continues, so that should work. However, you may also want to look into building a custom module for PHP so you can call your C functions directly from PHP. Info on the Zend API, building PHP modules in C, etc., is avail

[PHP] C++ integration with PHP

2001-02-01 Thread Zhu George-CZZ010
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