why does this simple counter fail?

Frédéric Perrin fred at resel.fr
Fri Mar 25 16:53:32 UTC 2011


Gary Kline <kline at 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



More information about the freebsd-questions mailing list