<?php is OK, but <? is not
Bradley Giesbrecht
brad at pixilla.com
Mon Jul 12 06:38:26 PDT 2010
Also look for inline php like <?=$somevar?>.
Change to <?php echo $somevar; ?> or similar.
// Brad
On Jul 12, 2010, at 2:05 AM, Bill Christensen wrote:
> Thanks guys, that was it.
>
>
> At 11:52 PM -0500 7/11/10, Ryan Schmidt wrote:
>> On Jul 11, 2010, at 23:48, Daniel Terreros wrote:
>>
>>> On Sun, Jul 11, 2010 at 9:46 PM, Bill Christensen wrote:
>>>
>>>> Starting a php section with <?php is OK, but <? apparently is not.
>>>
>>> Do you have short tags enabled?
>>
>>
>> Right, that feature is called short open tags. It's a setting in
>> the php.ini. The new default php.ini files that come with the
>> latest php5 are probably more restrictive than the ones that came
>> with earlier PHPs. You may need to update your code, or change some
>> settings back (though be aware of any security implications of
>> doing so).
>
>
> --
> Bill Christensen
> <http://greenbuilder.com/contact/>
>
> Green Building Professionals Directory: <http://directory.greenbuilder.com
> >
> Sustainable Building Calendar: <http://
> Calendar.SustainableSources.com>
> Green Real Estate: <http://www.greenbuilder.com/realestate/>
> Straw Bale Registry: <http://sbregistry.greenbuilder.com/>
> Books/videos/software: <http://bookstore.greenbuilder.com/>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list