JoeB wrote:
> Since the ISP changed somthing, the opening php tag no longer works.
>
> <? echo("joe"); ?>
>
> fails, where as this code:
>
> <?php echo("joe"); ?>
>
> works as expected.
>
> Is there a setting in the phpinfo where i can see if this is disabled?
> PHPinfo reports version 4.4.7.
Yes, it's called "short_tags" and is disabled by default.
Having it enabled may cause some problems when using "<?xml" at the start of
your XHTML documents.
> This is the 1st time ive seen this error, and its a masive headache as
> the web design co (the old company) wrote the entire site (1000's of
> pages) using <? instead of <?php
Well, then just write a script to do the dirty work for you.
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ;
ivansanchez@kdetalk.net