Page 1 of 1

porcess files with <?

Posted: Tue Oct 06, 2009 11:28 am
by muffin8
Hello,
I just installed php 5.2.
I realize that php files should begin with:
<?php
and not just:
<?
I will get into the practice of starting a php file correctly. But, I have many files that just start with <?
Currently, php will not process these files. Is there a setting thatI could alter to make php process these files too?

Thanks.

Re: porcess files with <?

Posted: Tue Oct 06, 2009 12:08 pm
by jackpf
yes, turn on short_open_tag in php.ini.

Re: porcess files with <?

Posted: Tue Oct 06, 2009 12:26 pm
by muffin8
Thanks, it works!

Re: porcess files with <?

Posted: Wed Oct 07, 2009 5:30 am
by jackpf
:)