i am working on php...!! Is it possible to link HTML page to c++/c at back end. means instead of php script i want to run c/c++ if Yes How??
+4
A:
CGI is your best bet if the C++ program is an executable. If you want to use a C++ library from PHP you will need to write an extension. An example of this can be found at http://devzone.zend.com/article/4486
Jared
2009-11-12 15:19:10
+2
A:
I recommend the book Extending and Embedding PHP by Sara Goleman link
It is probably the best resource I have found on linking C++ libraries / routines to user space PHP functions.
Paul Shoemaker
2009-11-12 15:32:50