Date: Fri, 25 Mar 2011 16:53:41 -0700 From: Gary Kline <kline@thought.org> To: Fr?d?ric Perrin <fred@resel.fr> Cc: freebsd-questions@freebsd.org Subject: Re: why does this simple counter fail? Message-ID: <20110325235341.GA26039@thought.org> In-Reply-To: <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> <kggy643nnuw.fsf@pc-df-302.priv.enst-bretagne.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 25, 2011 at 05:53:11PM +0100, Fr?d?ric Perrin wrote: > 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 > Found it; thanks. It's been god-knows how many yrs ago that i used the short tags option .... it may have been the Last time my counter broke. Lost in the myst of times. Anyway, i've decided to leave the short form off as is advised in the ini file. I'M trying to decide whether to tatoo this on my forehead or just make a note in my ~/.notes file for the next time this breaks. if/when. Meanwhile, the best thingt to do would simply write a script to turn <? into <?php .... Never know when I'll get into things like <?xml or whatever. -g -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110325235341.GA26039>