Re: <? and <?= not working after new PHP install
| From: | awkenney at gmail dot com | Date: | Fri, 14 Dec 2007 14:52:04 +0000 |
| Subject: | Re: <? and <?= not working after new PHP install | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28656@lists.php.net to get a copy of this message | ||
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 <strocknar@yahoo.com>
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