On Tue, July 25, 2006 8:33 am, David Tulloh wrote:
Larry Garfield wrote:
Disable short tags.
The correct answer is (b). (PHP 6 won't even have short tags, so
get used to
not having them.)
Can you find anywhere where this was announced? I don't recall seeing
any decision on it.
A quick
Larry Garfield wrote:
Disable short tags.
If short tags are enabled, the PHP parser sees the ? and switches into PHP
mode. It then starts parsing the xml and sees that it's not proper PHP,
and freaks out.
You can:
a) Use PHP to print out the XML declaration as a string:
?php
At 11:01 PM -0500 7/24/06, Larry Garfield wrote:
Disable short tags.
If short tags are enabled, the PHP parser sees the ? and switches into PHP
mode. It then starts parsing the xml and sees that it's not proper PHP,
and freaks out.
You can:
Bingo !
That works : )
Apparently the better
This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote:
The correct answer is (b). (PHP 6 won't even have short tags, so get used to
not having them.)
ummm, I think it was decided to stay in php6. I could be mildly/wildly mistaken
Kevin
--
Democracy is two wolves and a
On Tue, July 25, 2006 3:15 pm, Kevin Waterson said:
This one time, at band camp, Larry Garfield [EMAIL PROTECTED]
wrote:
The correct answer is (b). (PHP 6 won't even have short tags, so get
used to
not having them.)
ummm, I think it was decided to stay in php6. I could be mildly/wildly
On Tue, July 25, 2006 3:15 pm, Kevin Waterson said:
This one time, at band camp, Larry Garfield [EMAIL PROTECTED]
wrote:
The correct answer is (b). (PHP 6 won't even have short
tags, so get
used to
not having them.)
ummm, I think it was decided to stay in php6. I could be
Hi gang:
Why does starting my php script with --
?xml version=1.0 encoding=utf-8?
-- stop it from running?
I would like to use php in a page, but the page has to begin with a
xml declaration to generate a quirksmode for IE6 and under while
permitting IE7 to be left in standards mode.
Disable short tags.
If short tags are enabled, the PHP parser sees the ? and switches into PHP
mode. It then starts parsing the xml and sees that it's not proper PHP,
and freaks out.
You can:
a) Use PHP to print out the XML declaration as a string:
?php print '?xml version=1.0
8 matches
Mail list logo