You are here: Re: PHP as an embedded scripting language « PHP Programming Language « IT news, forums, messages
Re: PHP as an embedded scripting language

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация