From: <li...@li...> - 2001-05-14 03:42:23
|
On Sun, May 13, 2001 at 12:39:26PM -0400, Michael Diehl was heard to remark: > > PHP works like ASP or JSP so that you can include PHP code in your HTML > page, it just has top be escaped with <?PHP ... your code... ?>. > So it fits more with the most popular way of doing things at the moment. > When you are using templates, this becomes a bit meaningless, of course. > (And you can integrate Perl into the server as well) FYI, 'eperl' by ralf engelschall does the same thing for perl. It was recently converted to an apache module (mod_eperl, I beleive). I think the escape is <? but I think <: also works ... -------- I find the history of php peculiar ... my (warped) understanding of it is that it was even in the begining meant to be a perl-look & work-alike but with more database support and the <? escape from html... and then one day, it took on a life of its own ... what i find stange is that a couple of quick hacks could have added <? support, and then php would never have happened (e.g. if eperl was created in 1995 instead of 1998 or whenever ...) -- Linas Vepstas -- li...@gn... -- http://www.gnumatic.com/ |