Re: [PHP] xml v php question

2006-08-04 Thread Richard Lynch
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

RE: [PHP] xml v php question

2006-07-25 Thread Jim Moseby
> > 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

Re: [PHP] xml v php question

2006-07-25 Thread Larry Garfield
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 mild

Re: [PHP] xml v php question

2006-07-25 Thread Kevin Waterson
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

Re: [PHP] xml v php question

2006-07-25 Thread tedd
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 freaks out. You can: Bingo ! That works : ) Apparently the "better" minds are on this list. Thanks very much. tedd -- --- http://sperling.com http://ancientst

Re: [PHP] xml v php question

2006-07-25 Thread David Tulloh
Larry Garfield wrote: > Disable short tags. > > If short tags are enabled, the PHP parser sees the 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: > '; ?> > > b) Disable sh

Re: [PHP] xml v php question

2006-07-24 Thread Larry Garfield
Disable short tags. If short tags are enabled, the PHP parser sees the '; ?> b) Disable short tags so that the PHP parser ignores Hi gang: > > Why does starting my php script with -- > > > > -- stop it from running? > > I would like to use php in a page, but the page has to begin with a > xml d

[PHP] xml v php question

2006-07-24 Thread tedd
Hi gang: Why does starting my php script with -- -- 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. We've tried it in both Wordpress and