Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2011 17:53:11 +0100
From:      =?utf-8?B?RnLDqWTDqXJpYw==?= Perrin  <fred@resel.fr>
To:        freebsd-questions@freebsd.org
Subject:   Re: why does this simple counter fail?
Message-ID:  <kggy643nnuw.fsf@pc-df-302.priv.enst-bretagne.fr>
References:  <20110323164504.GA25317@thought.org> <kggr59xpv0c.fsf@pc-df-302.priv.enst-bretagne.fr> <20110324230049.GB31958@thought.org> <89898D0E-B4A9-41E9-B829-DF7CA8D3FF06@d3photography.com> <20110325053630.GA6722@thought.org> <BE6D7321-0B4A-4762-9270-CC34E52ECBED@d3photography.com> <20110325164445.GA16901@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline <kline@thought.org> writes:
> On Fri, Mar 25, 2011 at 06:36:34AM -0500, Ryan Coleman wrote:
>> Look for short tags. Turn that on.
>> 
>> <?php is long form... most scripts are using short tags.
>
> I didn't know that I had the option of using short flags or not. Where
> do I set that? (I'm sure there are more places where i have "<?" anf
> "?>" rather than "<?php" and "?>"; be nice to _not_ have this cause me
> grief again....)

In /usr/local/etc/php.ini, look for short_open_tag under the « Language
Options » heading.

-- 
Frédéric Perrin -- http://tar-jx.bz




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kggy643nnuw.fsf>