Or you could just enable short tags in php.ini:

short_open_tag = On


On Thu, Dec 11, 2008 at 08:14:14PM -0700, Bret wrote:
> Richard Toohey wrote:
> >[cut]
> >>
> >>Yes a clean install, Apache works fine,, index,html servers up across 
> >>my network... php -i from the command line works,,, a page called 
> >>qw.php with only <? phpinfo(); ?>  displays nothing but from firefox 
> >>a show page source shows the <? phpinfo(); ?> as being there. also 
> >>did multiple reboots to make sure.
> >>
> >>Bret
> >
> >PHP 5, mate, you have got to use long tags
> >
> ><?php
> >
> >phpinfo();
> >
> >?>
> >
> >
> >
> 
> Well just everybody PLEASE Laugh at me... No I mean Laugh with me... 
> Thats what I get for using an old learn Apache, MySQL and PHP book....
> 
> Thanks and Yes I was LMAO ;-D
> 
> Bret

Reply via email to