faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 5 people (60%) answered Yes
Recently 3 of 5 people (60%) answered Yes

Entry

Is is possible use functions from the PHP library in a C / C++ program? If so, how?

Mar 1st, 2008 04:09
dman, Jens Aggergren, http://www.ttnr.org


One way would be to write a php script utilizing the php library
function and then execute that script using a forked process from c/c++
program, you can pass data to be operated upon as commandline parameters
to the new forked process and output can be a  file or any other
persistent storage