Php 5 by default deprecates the <? Tag. But there is an option in the php.ini 
file to accept the old style tags as well as the new. Although for the future, 
I recommend you do a find and replace on your entire site in order to use the 
<?PHP tag instead.
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Robert Van Kleeck <[EMAIL PROTECTED]>

Date: Fri, 14 Dec 2007 06:31:28 
To:php-windows@lists.php.net
Subject: [PHP-WIN] <? and <?= not working after new PHP install

The subject line says it all.  The host of my website just migrated servers 
after the original one died.  After installing PHP for windows, none of my 
pages worked correctly.  After going through the code, it turned out to be that 
all PHP code was wrapped in <? ?> instead of <?php ?> tags.  It was my 
understanding that this is perfectly acceptable PHP.  Is there something that 
needs to be enabled at install that possibly was not?  The host did a "minimal" 
install of PHP.

Thanks!
-R




      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to