Re: [PHP] Running Arbitrary PHP Code

2004-06-08 Thread Curt Zirzow
* Thus wrote Nathan Schmitz ([EMAIL PROTECTED]): > > I'm trying to take arbitrary PHP code from within C++. > > I've noted the PHP embed module, but haven't found any sample code or > directions as > to how to use it. A little old but might work.. http://www.zend.com/lists/php-dev/200209/msg01

[PHP] Running Arbitrary PHP Code

2004-06-08 Thread Nathan Schmitz
I'm trying to take arbitrary PHP code from within C++. I've noted the PHP embed module, but haven't found any sample code or directions as to how to use it. The other idea is to call functions directly from the DLL. A dumpbin has given me a function list, but attempts to call php_execute_script(