|
Posted by Roger on 10/19/05 14:46
Jerry Stuckle wrote:
>
> PHP ia not compiled, so it won't meet your second requirement.
Oops, no, I misled you there! What I meant was that I need to compile
the interpreter into the application. The embedded interpreter would
interpret uncompiled code.
> Additionally, I've never seen it embedded in anything but html. While I
> see no reason why it couldn't be, it's the Apache (or IIS) PHP module
> which senses the <?php and ?> tags and passes what's between them to the
> interpreter. You'd have to create a similar module for a standalone app.
PHP can run as a stanalone interpter. In fact the CGI version is quite
capable as being used as such (or rather **it is** a standalone
interpreter).
However, as you point out, it is pratically always used in web server
scenarious, I don't no how much this has detracted from it's
suitability as an embedded scripting engine.
Navigation:
[Reply to this message]
|