Re: [PHP] Is echo tag reasonably portable?

2005-11-18 Thread Marcus Bointon
On 15 Nov 2005, at 19:53, Robin Vickery wrote: I doubt very much if they will be disabled. They are perfectly valid SGML processing instructions. Firstly, I didn't actually suggest they were disabled. I suggested that they should be off by default. Late to the party I know, but I think somet

Re: [PHP] Is echo tag reasonably portable?

2005-11-16 Thread Jochem Maas
Curt Zirzow wrote: On Tue, Nov 15, 2005 at 05:39:36PM +, Richard Davey wrote: Hi Jim, Tuesday, November 15, 2005, 5:25:58 PM, you wrote: I don't know, but those who do should not use short tags. And those who hope to should not get into the habit of using short tags. And for the vast

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Curt Zirzow
On Wed, Nov 16, 2005 at 01:27:12AM +0200, Robin Vickery wrote: > On 11/15/05, Greg Donald <[EMAIL PROTECTED]> wrote: > > On Tue, 15 Nov 2005, Jim Moseby wrote: > > > > >> for file in *.php; do > > >> cp $file $file.tmp > > >> sed -e "s/$file > > >> rm $file.tmp > > >> done > > ... > > > > for file

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Robin Vickery
On 11/15/05, Greg Donald <[EMAIL PROTECTED]> wrote: > On Tue, 15 Nov 2005, Jim Moseby wrote: > > >> for file in *.php; do > >> cp $file $file.tmp > >> sed -e "s/$file > >> rm $file.tmp > >> done > > > > I maintain: "Better to save the grief and do it right to start with, no?" > > Maybe at some poin

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Robin Vickery
On 11/15/05, Greg Donald <[EMAIL PROTECTED]> wrote: > On Tue, 15 Nov 2005, Jim Moseby wrote: > > >> for file in *.php; do > >> cp $file $file.tmp > >> sed -e "s/$file > >> rm $file.tmp > >> done > > > > I maintain: "Better to save the grief and do it right to start with, no?" > > Maybe at some poin

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Greg Donald
On Tue, 15 Nov 2005, Jim Moseby wrote: for file in *.php; do cp $file $file.tmp sed -e "s/$file rm $file.tmp done I maintain: "Better to save the grief and do it right to start with, no?" Maybe at some point I too will be lucky enough to only work on code that I authored. for file in *.ph

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Jim Moseby
> > On Tue, 15 Nov 2005, Jim Moseby wrote: > > > It will be when you have to sort through 1,000,000 lines of > code in 400 > > files to change ' and do it right > > to start with, no? > > for file in *.php; do > cp $file $file.tmp > sed -e "s/$file > rm $file.tmp > done I maintain: "Better to

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Robin Vickery
On 11/15/05, Greg Donald <[EMAIL PROTECTED]> wrote: > On Tue, 15 Nov 2005, Jim Moseby wrote: > > > It will be when you have to sort through 1,000,000 lines of code in 400 > > files to change ' > to start with, no? > > for file in *.php; do > cp $file $file.tmp > sed -e "s/$file > rm $file.tmp > don

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Dan Lowe
On Nov 15, 2005, at 8:39 AM, Greg Donald wrote: On Tue, 15 Nov 2005, Jim Moseby wrote: It will be when you have to sort through 1,000,000 lines of code in 400 files to change 'it right to start with, no? for file in *.php; do cp $file $file.tmp sed -e "s/$file rm $file.tmp done ... Woul

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Greg Donald
On Tue, 15 Nov 2005, Jim Moseby wrote: It will be when you have to sort through 1,000,000 lines of code in 400 files to change ' for file in *.php; do cp $file $file.tmp sed -e "s/$file rm $file.tmp done -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ --

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Robin Vickery
On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > Robin Vickery wrote: > > On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > > > >>Can ' > > > > > The manual's reasonably explicit on the subject: > > > > "Note: Using short tags should be avoided when developing > > applications or librar

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread John Nichel
Robin Vickery wrote: Short tags have been deprecated for years. Both the manual and the php.ini file itself advise people not to use them. Personally I think it's about time they were turned off by default, but that's bound to annoy a lot of people who've ignored the warnings. Hey, we need ano

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Robin Vickery
On 11/15/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > > so how many people actually _need_ to write portable code? ok so many you > are starting a project which will become a runaway success but until it starts > receiving alot of attention use of short-open-tags is probably not your > biggest > i

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 05:39:36PM +, Richard Davey wrote: > Hi Jim, > > Tuesday, November 15, 2005, 5:25:58 PM, you wrote: > > > I don't know, but those who do should not use short tags. And those > > who hope to should not get into the habit of using short tags. > > And for the vast majori

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Miles Thompson
At 01:25 PM 11/15/2005, Jim Moseby wrote: > > Jim Moseby wrote: > >>Robin Vickery wrote: > >> > >>>On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > >>> > >>> > Can ' >>> > >>> > >>>The manual's reasonably explicit on the subject: > >>> > >>>"Note: Using short tags should be avoided w

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Michael Crute
On 11/15/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Jim Moseby wrote: > >>Robin Vickery wrote: > >> > >>>On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > >>> > >>> > Can ' >>> > >>> > >>>The manual's reasonably explicit on the subject: > >>> > >>>"Note: Using short tags should be avoi

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Jim Moseby
> > Jim Moseby wrote: > >>Robin Vickery wrote: > >> > >>>On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > >>> > >>> > Can ' >>> > >>> > >>>The manual's reasonably explicit on the subject: > >>> > >>>"Note: Using short tags should be avoided when developing > >>>applications or libraries

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Greg Donald
On Tue, 15 Nov 2005, [EMAIL PROTECTED] wrote: In some respects it does because it means shortcuts are not allowed, it also means that someone trying to hack through your site is going to be held to a higher standard (ASP tags are cut off as well, the only thing Most PHP site exploits I've seen

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread John Nichel
Leonard Burton wrote: HI All, Every server I work on is set to not allow short tags, and I work on about 7 different state, federal, and commercial ones. Why turn off short tags? Does that make things more secure? Don't know if it makes it any more or less secure. I turn them off becaus

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Jochem Maas
Jim Moseby wrote: Robin Vickery wrote: On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: Can ' The manual's reasonably explicit on the subject: "Note: Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP s

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread lonewolf
> > Every server I work on is set to not allow short tags, and I work on > > about 7 different state, federal, and commercial ones. > > Why turn off short tags? Does that make things more secure? In some respects it does because it means shortcuts are not allowed, it also means that someone tryi

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Leonard Burton
HI All, > Every server I work on is set to not allow short tags, and I work on > about 7 different state, federal, and commercial ones. Why turn off short tags? Does that make things more secure? Thanks, -- Leonard Burton, N9URK [EMAIL PROTECTED] "The prolonged evacuation would have dramatica

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread lonewolf
Every server I work on is set to not allow short tags, and I work on about 7 different state, federal, and commercial ones. Some of them don't even read .htaccess files in the directories where my scripts reside, so trying that type of hack would get you booted. just my $.02 -- PHP General Mail

RE: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Jim Moseby
> > Robin Vickery wrote: > > On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > > > >>Can ' > > > > > The manual's reasonably explicit on the subject: > > > > "Note: Using short tags should be avoided when developing > > applications or libraries that are meant for redistribution, or > >

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread John Nichel
Roman Ivanov wrote: Robin Vickery wrote: On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: Can ' The manual's reasonably explicit on the subject: "Note: Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Jochem Maas
Robin Vickery wrote: On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: Can ' The manual's reasonably explicit on the subject: "Note: Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers which are not

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Roman Ivanov
Robin Vickery wrote: On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: Can ' The manual's reasonably explicit on the subject: "Note: Using short tags should be avoided when developing applications or libraries that are meant for redistribution, or deployment on PHP servers which are not

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread Robin Vickery
On 11/15/05, Roman Ivanov <[EMAIL PROTECTED]> wrote: > Can 'http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php