Reply to Re: <? vs <?PHP

Your name:

Reply:


Posted by Scott on 04/17/06 04:07

On Mon, 2006-04-17 at 00:13 +0100, Paul Lautman wrote:
> I often see the former starting delimiter rather than the latter. Is there
> some rule about where the former can be used?
>
>

There is a setting in your php.ini file called short_open_tags. If it
is enabled, you can use <? instead of <?php. However, because xml also
uses the short tag <?, and for compatibility with different servers, it
is generally recommended that you use the longer <?php tag.

http://www.php.net/manual/en/ini.core.php#ini.short-open-tag

Scott

[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

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