[PHP] Calling PHP script from C/C++?

2001-05-22 Thread Chatchawan Boonraksa
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

RE: [PHP] Calling PHP script from C/C++?

2001-05-22 Thread Sean R. Bright
, 2001 9:42 PM To: [EMAIL PROTECTED] Subject: [PHP] Calling PHP script from C/C++? 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

Re: [PHP] Calling PHP script from C/C++?

2001-05-22 Thread Plutarck
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