On 12/12/2008, at 4:51 PM, Marcos Laufer - Ipv4networks.com wrote:

Or you could just enable short tags in php.ini:

short_open_tag = On

[cut]

Yes, that's what I used to do.  And then I used someone else's server.

Or a fresh install of PHP 5. Or something. And I/you forget about short tags.

And then you wonder why PHP is "broken" on this other/new server.  And
waste several hours re-installing, testing, etc., etc., etc.

Best to break the old habit and use long tags ... obviously if you've got a legacy app with short tags, the short tags directive is attractive. But you
are going to have to take the pain one day (probably when you least
want to/expect it.)


PHP 5, mate, you have got to use long tags

<?php

phpinfo();

?>




Well just everybody PLEASE Laugh at me... No I mean Laugh with me...
Thats what I get for using an old learn Apache, MySQL and PHP book....

Thanks and Yes I was LMAO ;-D

Bret

Reply via email to