Re: Re: [PHP] Re: Code should be selv-maintaining!

2011-08-29 Thread Tim Streater
On 29 Aug 2011 at 21:32, George Langley wrote: > "The One True Brace Style": > > > > Didn't know there was a name for the way I learned to indent! Make sense to me > - looks so much cleaner and less scrolling/printing. > And, I already add a comm

Re: [PHP] Code should be selv-maintaining!

2011-08-29 Thread Geoff Shang
On Mon, 29 Aug 2011, Rico Secada wrote: You go into your homemade library of code to re-use some piece that you already are using 12 other places in production. Now, last time you worked on the code you thought it was almost perfect. While working on the code this time you find an undiscovered b

Re: [PHP] Re: Code should be selv-maintaining!

2011-08-29 Thread George Langley
"The One True Brace Style": Didn't know there was a name for the way I learned to indent! Make sense to me - looks so much cleaner and less scrolling/printing. And, I already add a comment to confirm the end brace: } // end if($myVar) to clar

Re: [PHP] Re: Code should be selv-maintaining!

2011-08-29 Thread Robert Cummings
On 11-08-29 04:05 PM, Richard Riley wrote: Robert Cummings writes: On 11-08-29 03:42 PM, Rico Secada wrote: You go into your homemade library of code to re-use some piece that you already are using 12 other places in production. Now, last time you worked on the code you thought it was almost

[PHP] Re: Code should be selv-maintaining!

2011-08-29 Thread Richard Riley
Robert Cummings writes: > On 11-08-29 03:42 PM, Rico Secada wrote: >> You go into your homemade library of code to re-use some piece that you >> already are using 12 other places in production. Now, last time you >> worked on the code you thought it was almost perfect. While working on >> the cod

RE: [PHP] Code should be selv-maintaining!

2011-08-29 Thread admin
> -Original Message- > From: Rico Secada [mailto:coolz...@it.dk] > Sent: Monday, August 29, 2011 3:42 PM > To: php-general@lists.php.net > Subject: [PHP] Code should be selv-maintaining! > > Dont get me wrong, I love programming! But what an absolute pain in the > ass it is when you re-us

Re: [PHP] Code should be selv-maintaining!

2011-08-29 Thread Robert Cummings
On 11-08-29 03:42 PM, Rico Secada wrote: You go into your homemade library of code to re-use some piece that you already are using 12 other places in production. Now, last time you worked on the code you thought it was almost perfect. While working on the code this time you find an undiscovered b

[PHP] Code should be selv-maintaining!

2011-08-29 Thread Rico Secada
Dont get me wrong, I love programming! But what an absolute pain in the ass it is when you re-use old code only to discover something "less well made". You all know about this right? You go into your homemade library of code to re-use some piece that you already are using 12 other places in produ

Re: [PHP] Dreaded Premature end of script headers

2011-08-29 Thread Steve Staples
On Sat, 2011-08-27 at 17:55 -0400, Daniel P. Brown wrote: > On Sat, Aug 27, 2011 at 01:01, Jim Lucas wrote: > > > > Well, you might have to go about this the long way. I suggest you cut larger > > sections of code out until you get a working script. Then start putting it > > back together. > >

Re: [PHP] Re: [EasyPHP] How to export and import `alias` from previous version of EasyPHP?

2011-08-29 Thread Daniel Brown
On Sun, Aug 28, 2011 at 07:10, EasyPHP wrote: > Hi > > Open your old conf_files/httpd.conf, copy the end of the file (between > #alias) and paste it in the new one. > Restart the servers. That's it! Please keep EasyPHP-specific support requests off this list, and on a list, forum, or other su