Re: Using php for non-web based applications
| From: | Paul Scruby | Date: | Wed, 22 Oct 2003 17:01:39 +0000 |
| Subject: | Re: Using php for non-web based applications | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167118@lists.php.net to get a copy of this message | ||
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