Posted by Michael Fesser on 06/14/07 15:38
..oO(SrSilveira)
>On Jun 13, 10:01 pm, Michael Fesser <neti...@gmx.de> wrote:
>
>> Are you sure short_open_tag will be enabled on all of your servers?
>
>of course i'm sure. if it's not enabled you can just do like that
><?php=$Mystring?>
Still wrong. If you want reliable and portable code, then it has to be
<?php echo $MyString?>
short_open_tag is entirely optional. You should only use it if you are
_always_ in control of the servers your scripts are supposed to run on
or at least be able to change their configuration. It's still bad style
and not recommended.
Micha
[Back to original message]
|