[PHP] Using php for non-web based applications

2003-10-22 Thread Paul Scruby
Hi there,

I am not sure if this is the right list to post to as most of you guys are
probably run php as an Apache module.  However, I am currently using my
own xml data format for a non-web based application and I would like to be
able to embed php within it.  Is there a C/C++ library that I can link
against to execute the ?php ... ? inside my xml when I load it?  Can
someone point me in the right direction?

Many thanks,

Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Using php for non-web based applications

2003-10-22 Thread Paul Scruby
OK I figured out a solution.
If your interested I am just calling from stdlib.h:
system(php myFile.xml);
and then passing the result on the stdout to XERCES using stdin.

Paul Scruby wrote:

Hi there,

I am not sure if this is the right list to post to as most of you guys are
probably run php as an Apache module.  However, I am currently using my
own xml data format for a non-web based application and I would like to be
able to embed php within it.  Is there a C/C++ library that I can link
against to execute the ?php ... ? inside my xml when I load it?  Can
someone point me in the right direction?

Many thanks,

Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php