Afficher un message
Vieux 16/02/2008, 14h31   #3
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: <? tag not reconised, <?php works ok

JoeB wrote:
> Hi,
>
> 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.
>
> 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
>
>
>
> Please please me!!
>
>
> Joe
>
>


In addition to what Iván said, plan on changing all of those short tags.
But while there are 100's of pages, I suspect there aren't 1000's of
source files - probably most of those pages are generated from a few
scripts.

It's a good thing you got rid of that old design company.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
 
Page generated in 0,05416 seconds with 9 queries