Re: [PHP] Re: headers and newline at end of script

2006-07-22 Thread Robert Cummings
On Sat, 2006-07-22 at 07:54, Martin Marques wrote: > On Thu, 20 Jul 2006, Robert Cummings wrote: > > > On Thu, 2006-07-20 at 17:09, John Nichel wrote: > >> Adam Zey wrote: > >> > >>> Note that just because the fact that it works is a feature, doesn't mean > >>> it's good coding style. register gl

Re: [PHP] Re: headers and newline at end of script

2006-07-22 Thread Martin Marques
On Thu, 20 Jul 2006, Robert Cummings wrote: On Thu, 2006-07-20 at 17:09, John Nichel wrote: Adam Zey wrote: Note that just because the fact that it works is a feature, doesn't mean it's good coding style. register globals is a feature too, but it isn't exactly a good idea to use it. Ding d

Re: [PHP] Re: headers and newline at end of script

2006-07-21 Thread Jochem Maas
Robert Cummings wrote: > On Thu, 2006-07-20 at 16:50, Jochem Maas wrote: >> Robert Cummings wrote: >>> On Thu, 2006-07-20 at 14:15, Martin Marques wrote: On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2006-07-20 at 12:12, Adam Zey wrote:

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 17:09, John Nichel wrote: > Adam Zey wrote: > > > Note that just because the fact that it works is a feature, doesn't mean > > it's good coding style. register globals is a feature too, but it isn't > > exactly a good idea to use it. > > > > Ding ding ding > > Give that

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Adam Zey
Martin Marques wrote: On Thu, 20 Jul 2006, Adam Zey wrote: Jochem Maas wrote: Robert Cummings wrote: I don't understand - the links point to posts by Rasmus saying that's 'beneficial' - seems to me to be a fairly robust endorsement yet you consider leaving off trailing '?>' wrong (and use Ra

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread John Nichel
Adam Zey wrote: Note that just because the fact that it works is a feature, doesn't mean it's good coding style. register globals is a feature too, but it isn't exactly a good idea to use it. Ding ding ding Give that man a cigar. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 16:53, Adam Zey wrote: > Jochem Maas wrote: > > I don't understand - the links point to posts by Rasmus saying that's > > 'beneficial' - seems to me to be a fairly robust endorsement yet you > > consider leaving off trailing '?>' wrong (and use Rasmus' comments to > > back tha

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Martin Marques
On Thu, 20 Jul 2006, Adam Zey wrote: Jochem Maas wrote: Robert Cummings wrote: I don't understand - the links point to posts by Rasmus saying that's 'beneficial' - seems to me to be a fairly robust endorsement yet you consider leaving off trailing '?>' wrong (and use Rasmus' comments to back

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Jochem Maas
Robert Cummings wrote: > On Thu, 2006-07-20 at 14:15, Martin Marques wrote: >> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> >> wrote: >>> On Thu, 2006-07-20 at 12:12, Adam Zey wrote: Martin Marques wrote: > Now, my question is: Is it a bad practice to "NOT" c

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 16:50, Jochem Maas wrote: > Robert Cummings wrote: > > On Thu, 2006-07-20 at 14:15, Martin Marques wrote: > >> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> > >> wrote: > >>> On Thu, 2006-07-20 at 12:12, Adam Zey wrote: > Martin Marques wrote: >

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Adam Zey
Jochem Maas wrote: Robert Cummings wrote: On Thu, 2006-07-20 at 14:15, Martin Marques wrote: On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote: On Thu, 2006-07-20 at 12:12, Adam Zey wrote: Martin Marques wrote: > Now, my question is: Is it

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Martin Marques
On Thu, 20 Jul 2006, Stephen Lake wrote: As far as getting the header error resolved, try this: http://ca3.php.net/manual/en/function.ob-start.php I'll stick with not closing my scripts, just like Rasmus said. :-) -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 --

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Stephen Lake
As far as getting the header error resolved, try this: http://ca3.php.net/manual/en/function.ob-start.php HTH Steve "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 2006-07-20 at 14:15, Martin Marques wrote: >> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cumm

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 14:15, Martin Marques wrote: > On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-07-20 at 12:12, Adam Zey wrote: > >> Martin Marques wrote: > >> > Now, my question is: Is it a bad practice to "NOT" close the script > >> with > >>

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Martin Marques
On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2006-07-20 at 12:12, Adam Zey wrote: >> Martin Marques wrote: >> > Now, my question is: Is it a bad practice to "NOT" close the script >> with >> > the PHP closing "?>"? I mean, just leave the script without

Re: [PHP] Re: headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 12:12, Adam Zey wrote: > Martin Marques wrote: > > Now, my question is: Is it a bad practice to "NOT" close the script > with > > the PHP closing "?>"? I mean, just leave the script without a closing > > PHP simbols, as this scripts are included? > > Yes. Wrong :) Cheer

[PHP] Re: headers and newline at end of script

2006-07-20 Thread tedd
Hi: So is the consensuses here to NOT close the "?>" tag? tedd -- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: headers and newline at end of script

2006-07-20 Thread Adam Zey
Martin Marques wrote: > Now, my question is: Is it a bad practice to "NOT" close the script with the PHP closing "?>"? I mean, just leave the script without a closing PHP simbols, as this scripts are included? Yes. Regards, Adam. -- PHP General Mailing List (http://www.php.net/) To unsubscr