Reply to Re: newbie question: <?=$variable?> yields no output

Your name:

Reply:


Posted by James Barrett on 10/03/07 13:09

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

macca wrote:
>
>
>> Incorrect translation: You should never use short tags, and you should
>> go around telling everyone else not to use them.
>
>
> My first first explanation was not a translation of my second post.
>
> My first post gave you a different (all be it correct) reason not to
> use short tags whilst, since you were still arguing the point, I gave
> you another reason, straight from the php.ini file comments.
>
> And yes...You SHOULD never use short tags (just because you can, for
> backwards compatability reasons does not mean you should. IT IS BAD
> PRACTICE)
>
> And yes...You SHOULD go around telling everyone else not to use them
> also.
>
> P.S - I apologise for being rude, however there is no excuse for being
> stubborn about your coding practices. When you are proven wrong,
> swallow your pride and change your ways - otherwise you'll be a shite
> coder forever.
>
> Regards,
>
> Paul
>

It sounds like the kid is getting confused with how these scripts are
processed. Web servers process many different types of files, not just
php. Then he mentions something about C precompile directives. Again, he
is getting confused, because C code is compiled into an executable
binary and will never be processed as a shell interpreter, so the '#' is
never in conflict.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHA5RxQuDJiZ/QrH0RAoHYAJ9pV1OEGiaaXMZdNmj/PVFLEqiavwCeIumR
j7DQdhy49xTgwXLc/jQgsM0=
=hY9B
-----END PGP SIGNATURE-----

[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

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