Re: Calling PHP script from C/C++?
| From: | Plutarck | Date: | Wed, 23 May 2001 05:17:10 +0000 |
| Subject: | Re: Calling PHP script from C/C++? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53985@lists.php.net to get a copy of this message | ||
Note that by using the standalone executable of PHP I don't know of anyway
to invoke PHP without first creating a file with the script in it. So you
can't pipe a dynamically created script directly into PHP. You have to use
an intermediary file.
I imagine there is a way to make it work, but I don't know of it.
Plutarck
""Chatchawan Boonraksa""
<chatchawan.boonraksa@th.transport.bombardier.com>
wrote in message news:C1256A55.00095A2A.00@demalng2.goc.adtranz.com...
> Hi all,
>
> Can PHP be used as a general scripting language other than in web?
> Has anyone did this before?
>
> I would like to embedded some kind of scripting in application developed
using C
> or C++.
> I don't want to learn a new language. I already know PHP and like the
syntax and
> style :)
>
> Any hint or pointer to this would be really appreciated.
>
> Regards, Chat
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>