Reply to Re: It appears that <?php ... ?> is not portable. If this is true, why do so many scripts use it?

Your name:

Reply:


Posted by farrishj@gmail.com on 05/28/07 17:50

On May 28, 11:35 am, Darko <darko.maksimo...@gmail.com> wrote:
> No, that shouldn't make any difference, fortunately Microsoft doesn't
> make PHP nor Apache. <?php #code# ?> is definitely something ANY php
> parser should understand. It takes guts and wits to reconfigure a web
> server in such way it doesn't recognise this syntax :)

If somebody HAS done this (web host), I assume they've built or
borrowed an entity parser (probably in .NET, Ruby, Python) that
provides simple entity parsing based on script blocks, which they (I
assume) then put the contents of into a call to a command-line
instance of PHP. In this way, I assume someone could extend php into a
codebase that does not natively understand PHP. If the folks building
this type of PHP extension needed it quickly/did not understand about
<?php and why ignoring it is bad (destroys portability of code), then
I think, unless they have REALLY good reasons for doing so, I'd find
another web host.

[Back to original 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

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