You are here: Re: <?php ...<? both are the php tags whats the diff « PHP Programming Language « IT news, forums, messages
Re: <?php ...<? both are the php tags whats the diff

Posted by Jerry Stuckle on 02/18/07 13:16

damod.php@gmail.com wrote:
> On Feb 16, 10:56 pm, Kimmo Laine <s...@outolempi.net> wrote:
>> damod....@gmail.com kirjoitti:
>>
>>> <?php ...<? both are the php tags whats the diff b/w name of the
>>> tag??? then
>>> i write the code using <? this tag full coding , but the server can
>>> not accept my (<?)tag,, its only used <? php tag only
>> That's a php.ini setting called short_open_tags or something, which can
>> be set on or off by server administrator. Apparently it's off in your case.
>>
>>> what can i do for ...
>> Write <?php always. <? has it's downsides.
>>
>> --
>> "En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
>> s...@outolempi.net | Gedoon-S @ IRCnet | rot13(x...@bhgbyrzcv.arg)
>
> thanks for ur help.,
> you mean search all <? and put near <?php like that,,,,ok sir if any
> other way, if my project having lot of .php files means hat can i do
> for, ..
>

No, if your host does not have short_open_tags enabled (I find that most
do not), you can't use it. You must use <?php. So you'll have to
change it in all of your files.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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