You are here: Re: Shall I disable short tags? « PHP Programming Language « IT news, forums, messages
Re: Shall I disable short tags?

Posted by Jensen Somers on 09/15/07 19:16

On Sat, 15 Sep 2007 10:34:45 -0700, varois83 wrote:

> Hi
>
> I am just starting with PHP. I am reading a PHP 5 book and they say to
> not use short tags and to actually disable them so I see an error
> message if I don't form my tags correctly. "short_open_tag" is currently
> set to "on", shall I set it to "off"? I am not planning on using short
> tags.

Short tags can conflict with XML. It's always a good coding practice to
try to follow a standard, like the PEAR (pear.php.net) coding standards.

You can find some explanation on the following page:
http://www.sitepoint.com/blogs/2007/05/25/good-and-bad-php-code/

>
> Thanks a lot
>
> Patrick

- Jensen

 

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

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