<? and <?= not working after new PHP install

<? and <?= not working after new PHP install

am 14.12.2007 15:31:28 von Robert Van Kleeck

--0-1277710118-1197642688=:25092
Content-Type: text/plain; charset=us-ascii

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 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
--0-1277710118-1197642688=:25092--

Re: <? and <?= not working after new PHP install

am 14.12.2007 15:51:24 von Jarrett Meyer

Needs to turn on short tags in the configuration.

Robert Van Kleeck wrote:
> 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 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
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: <? and <?= not working after new PHP install

am 14.12.2007 15:52:04 von Aaron Kenney

UGhwIDUgYnkgZGVmYXVsdCBkZXByZWNhdGVzIHRoZSA8PyBUYWcuIEJ1dCB0 aGVyZSBpcyBhbiBv
cHRpb24gaW4gdGhlIHBocC5pbmkgZmlsZSB0byBhY2NlcHQgdGhlIG9sZCBz dHlsZSB0YWdzIGFz
IHdlbGwgYXMgdGhlIG5ldy4gQWx0aG91Z2ggZm9yIHRoZSBmdXR1cmUsIEkg cmVjb21tZW5kIHlv
dSBkbyBhIGZpbmQgYW5kIHJlcGxhY2Ugb24geW91ciBlbnRpcmUgc2l0ZSBp biBvcmRlciB0byB1
c2UgdGhlIDw/UEhQIHRhZyBpbnN0ZWFkLg0KU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