Re: [PHP] How do you send stylized email?

2008-02-27 Thread Paul Scott
On Wed, 2008-02-27 at 13:18 -0500, Andrew Ballard wrote: > Seriously? All e-mail? Sorry - couldn't resist. That is one serious > disclaimer. I especially like the last line. > Holy crap! I had never actually looked at that stupid disclaimer before! It gets added on the way out of our network, s

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread tedd
At 12:45 PM -0500 2/27/08, Nathan Nobbe wrote: if i were going to design a system consisting largely of functions, i would use the same practice i use for designing classes; each function would be concise. that is, if functions became large, eg over 20 - 30 lines One of the things I've noticed

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > RoR is a framework, not a language. Really? I had not heard that previously. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 2:14 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > RoR is a framework, not a language. I also save crapload of typing by > using my InterJinn framework. Ruby as a language doesn't float my boat. where were you in the big ruby stand-off a couple weeks back ? :D -nathan

Re: [PHP] Getting the name of a function

2008-02-27 Thread tedd
At 10:56 AM -0800 2/27/08, Richard S. Crawford wrote: For my own amusement, I'm writing a function that will print out detailed error messages for an API that I'm creating for a minor project. One of the pieces of information I'd like to return would be the name of the function that called the e

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 2:17 PM, tedd <[EMAIL PROTECTED]> wrote: > At 12:45 PM -0500 2/27/08, Nathan Nobbe wrote: > >if i were going to design a system consisting largely of functions, i > would > >use the same practice i use for designing classes; each function would be > >concise. that is, if f

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 2:18 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > RoR is a framework, not a language. > > Really? I had not heard that previously. ya; rob; greg is like the new dude on the witty block; better pack something good

Re: [PHP] How do you send stylized email?

2008-02-27 Thread Andrew Ballard
On Wed, Feb 27, 2008 at 2:16 PM, Paul Scott <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-02-27 at 13:18 -0500, Andrew Ballard wrote: > > > Seriously? All e-mail? Sorry - couldn't resist. That is one serious > > disclaimer. I especially like the last line. > > > > Holy crap! I had never actually

Re: [PHP] Request for work on the php.net FAQs

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 1:42 PM, Philip Olson <[EMAIL PROTECTED]> wrote: > Hello everyone, > > The PHP manual FAQ has not received much attention over these past > few years, so it's outdated. This needs to be fixed. > > If you would like to add questions (and ideally, with answers) to the > FA

Re: [PHP] Performance Problem

2008-02-27 Thread Adriano Manocchia
OK. I just went through about 10 minutes' worth of cachegrinds, including several httperf tests on that empty php file (which had the usual poor results). According to the cachegrind files, nothing (including the other active web pages) took more than 15ms and the empty php file never excee

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Ray Hauge
Nathan Nobbe wrote: On Wed, Feb 27, 2008 at 2:14 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: RoR is a framework, not a language. I also save crapload of typing by using my InterJinn framework. Ruby as a language doesn't float my boat. where were you in the big ruby stand-off a couple week

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > ya; rob; greg is like the new dude on the witty block; > better pack something good for a comeback :O > my heads still smoking while i try to think up something > moderately so ~:( I'm not gonna just sit here and watch someone "*lol*" comparin

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Matty Sarro
Psh, if you're going to talk about RoR, might as well talk about PoP... Python on Planes! http://developers.slashdot.org/article.pl?sid=07/04/01/176239 On Wed, Feb 27, 2008 at 2:27 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Wed, Feb 27, 2008 at 2:18 PM, Greg Donald <[EMAIL PROTECTED]> wrote

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Matty Sarro <[EMAIL PROTECTED]> wrote: > Psh, if you're going to talk about RoR, might as well talk about PoP... > Python on Planes! > http://developers.slashdot.org/article.pl?sid=07/04/01/176239 Yeah, I love me some good April Fool's jokes, especially the 4 year old variety. -- Gr

[PHP] Guidance

2008-02-27 Thread Matty Sarro
Greetings all! I am still relatively new to any kind of web design or php programming, I'll be completely honest. I am used to working with C, Perl, Java, and a splash of C++. PHP and web application development are kind of a new bag for me and I'm still trying to get my bearings. I see that design

Re: [PHP] Performance Problem

2008-02-27 Thread Adriano Manocchia
Well, I just spent more time messing with httpd's conf and it the problem seems to have resolved itself by turning off hostname lookups. I know there's overhead associated with it, but I don't really understand why it only affected PHP, and so drastically. At any rate, I guess this issue is

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Matty Sarro
Well, I was going to ignore this comment, but given the smart-alecky nature I have to comment that the post date is April 1st 2007. Today is February 27th, 2008. Not only is that not 4 years, but its less than 365 days. You may want to brush up on your math skills my friend. And your humor skills a

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Stut
On 27 Feb 2008, at 18:36, David Giragosian wrote: The comparisons are fairly biased against PHP, as expected from the source, and a number of links are broken, particularly the one offering 5 full applications with source code. But I do have an install of the full Visual Studio .NET, and althou

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 14:19 -0500, Nathan Nobbe wrote: > On Wed, Feb 27, 2008 at 2:14 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > RoR is a framework, not a language. I also save crapload of typing by > > using my InterJinn framework. Ruby as a language doesn't float my boat. > > > wh

Re: [PHP] Guidance

2008-02-27 Thread Stut
On 27 Feb 2008, at 19:50, Matty Sarro wrote: I am still relatively new to any kind of web design or php programming, I'll be completely honest. I am used to working with C, Perl, Java, and a splash of C++. PHP and web application development are kind of a new bag for me and I'm still trying

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread David Giragosian
On 2/27/08, Stut <[EMAIL PROTECTED]> wrote: > On 27 Feb 2008, at 18:36, David Giragosian wrote: > > The comparisons are fairly biased against PHP, as expected from the > > source, and a number of links are broken, particularly the one > > offering 5 full applications with source code. But I do ha

RES: [PHP] Guidance

2008-02-27 Thread Thiago Pojda
Well, let's see.. IMO you should try: [1] HTML: Before anything, you should study the fundamental tags (html, table, div) and some about DOM (this helps w/ XML also). [2] PHP: Using php to build the results for html, embedding php in html, forms, etc [3] SQL: Storing data is essential, try using P

[PHP] Digg like app..

2008-02-27 Thread Ryan A
Hello! Just a quick question... can anyone recommend a php app like digg _that you have used or know of well_? Does not seem too hard to make but if theres something like that already out there, wouldnt mind modifying it to my needs. TIA Cheers! Ryan _

Re: [PHP] Performance Problem

2008-02-27 Thread Eric Butera
On Wed, Feb 27, 2008 at 2:34 PM, Adriano Manocchia <[EMAIL PROTECTED]> wrote: > OK. I just went through about 10 minutes' worth of cachegrinds, > including several httperf tests on that empty php file (which had the > usual poor results). According to the cachegrind files, nothing > (including t

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Matty Sarro
To the extent of my knowledge ASP is simply the server-side scripting engine, and most of the programming is actually done in visual basic, or any other scripting language you decide to use so long as its somehow putting money in microsoft's pocket. Think along the lines of Perl (the interpreter) v

Re: [PHP] Getting the name of a function

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford <[EMAIL PROTECTED]> wrote: > For my own amusement, I'm writing a function that will print out detailed > error messages for an API that I'm creating for a minor project. One of the > pieces of information I'd like to return would be the name o

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Stephen Johnson
> I thought ASP was the language and .NET was the framework. I was under this impression as well.. I always equated .NET to ASP the same way I would ZEND to PHP... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.forthelo

Re: [PHP] Digg like app..

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 3:06 PM, Ryan A <[EMAIL PROTECTED]> wrote: > Hello! > > Just a quick question... can anyone recommend a php app like digg _that you > have used or know of well_? > Does not seem too hard to make but if theres something like that already out > there, wouldnt mind modifyin

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread David Giragosian
On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > So is ASP really a framework? Did I get that wrong... I'm not always > right you know, especially about MS crap. > >From the first mentioned article: ASP.NET is part of the Microsoft .NET Framework. The .NET Framework is a feature of Wind

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Matty Sarro <[EMAIL PROTECTED]> wrote: > Well, I was going to ignore this comment, but given the smart-alecky nature > I have to comment that the post date is April 1st 2007. Today is February > 27th, 2008. Not only is that not 4 years, but its less than 365 days. You > may want to brus

Re: [PHP] Performance Problem

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 2:50 PM, Adriano Manocchia <[EMAIL PROTECTED]> wrote: > Well, I just spent more time messing with httpd's conf and it the > problem seems to have resolved itself by turning off hostname lookups. > I know there's overhead associated with it, but I don't really > understand

RE: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Jay Blanchard
[snip] > I thought ASP was the language and .NET was the framework. I was under this impression as well.. I always equated .NET to ASP the same way I would ZEND to PHP... [/snip] Think of ASP like you would JBoss or Tomcat - it is an application server. Most folks used VBScript as the language b

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > So is ASP really a framework? .Net has upwards of 70K classes. If that's not a framework then I dunno what is. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 3:01 PM, Stut <[EMAIL PROTECTED]> wrote: > Maybe it's just me but I usually end up rewriting everything I write > at least twice. That's just a fact of life and I've found that I end > up with far better code that way than I do by trying to get it right > first time. It

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread tedd
At 10:03 AM -0800 2/27/08, Dare Williams wrote: Dear Developers, http://msdn2.microsoft.com/en-us/library/aa479002.aspx I read an Article on the above Microsoft website stating the reason why to Migrate from PHP to ASP.NET. So can you please justify this proofs from Microsoft and let every

Re: [PHP] Guidance

2008-02-27 Thread Matty Sarro
I understand and agree completely, and I really appreciate the help. My goal isn't so much to keep from re-writing code, but to have a pretty firm foundation to stand on before I really begin. I mean, with c++ or c, all I needed was the language, and that was pretty much it. I could do everything f

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 14:29 -0600, Greg Donald wrote: > On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > So is ASP really a framework? > > .Net has upwards of 70K classes. If that's not a framework then I > dunno what is. No need to keep confusing me... I got better answers form othe

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Matty Sarro
Completely off subject, but man I miss quickbasic... that was such a fun language to program in way back-in-the-day. So simple! On Wed, Feb 27, 2008 at 3:39 PM, tedd <[EMAIL PROTECTED]> wrote: > At 10:03 AM -0800 2/27/08, Dare Williams wrote: > >Dear Developers, > > > > http://msdn2.microsoft.c

Re: [PHP] Guidance

2008-02-27 Thread Ray Hauge
Matty Sarro wrote: I understand and agree completely, and I really appreciate the help. My goal isn't so much to keep from re-writing code, but to have a pretty firm foundation to stand on before I really begin. I mean, with c++ or c, all I needed was the language, and that was pretty much it. I

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 13:41 -0600, Greg Donald wrote: > On 2/27/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > ya; rob; greg is like the new dude on the witty block; > > better pack something good for a comeback :O > > my heads still smoking while i try to think up something > > moderately so ~:

Re: [PHP] Performance Problem

2008-02-27 Thread Shawn McKenzie
Adriano Manocchia wrote: > Well, I just spent more time messing with httpd's conf and it the > problem seems to have resolved itself by turning off hostname lookups. I > know there's overhead associated with it, but I don't really understand > why it only affected PHP, and so drastically. At any ra

[PHP] Re: Getting the name of a function

2008-02-27 Thread Shawn McKenzie
Richard S. Crawford wrote: > For my own amusement, I'm writing a function that will print out detailed > error messages for an API that I'm creating for a minor project. One of the > pieces of information I'd like to return would be the name of the function > that called the error function. For ex

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 3:42 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: > I understand and agree completely, and I really appreciate the help. My goal > isn't so much to keep from re-writing code, but to have a pretty firm > foundation to stand on before I really begin. I mean, with c++ or c, all I

Re: [PHP] Guidance

2008-02-27 Thread tedd
At 3:32 PM -0500 2/27/08, Daniel Brown wrote: On Wed, Feb 27, 2008 at 3:01 PM, Stut <[EMAIL PROTECTED]> wrote: Maybe it's just me but I usually end up rewriting everything I write at least twice. That's just a fact of life and I've found that I end up with far better code that way than I d

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 3:59 PM, Daniel Brown <[EMAIL PROTECTED]> wrote a lot of crap. P.S. - Sorry for the rant. ;-P -- Daniel P. Brown Senior Unix Geek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Guidance

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 15:59 -0500, Daniel Brown wrote: > > * Shell scripting (BASh, tcl, Expect, AppleScript, Korn, and so forth) Do many people still use Expect? I thought I might be a dying breed. Cheers, Rob. -- .. | InterJin

Re: [PHP] Guidance

2008-02-27 Thread Nathan Rixham
Matty Sarro wrote: I understand and agree completely, and I really appreciate the help. My goal isn't so much to keep from re-writing code, but to have a pretty firm foundation to stand on before I really begin. I mean, with c++ or c, all I needed was the language, and that was pretty much it. I

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:04 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Wed, 2008-02-27 at 15:59 -0500, Daniel Brown wrote: > > > > * Shell scripting (BASh, tcl, Expect, AppleScript, Korn, and so > forth) > > Do many people still use Expect? I thought I might be a dying breed.

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread tedd
At 3:46 PM -0500 2/27/08, Matty Sarro wrote: Completely off subject, but man I miss quickbasic... that was such a fun language to program in way back-in-the-day. So simple! Well, the subject line did ask for "Truthful" and when it comes to M$, what I had to say was directed at M$'s credibility

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: > Completely off subject, but man I miss quickbasic... that was such a fun > language to program in way back-in-the-day. So simple! Not to mention the ability to add (at the time) decent graphics to an application as oppo

[PHP] Uppercase first letter of each new line?

2008-02-27 Thread Keikonium
I'm sure this is really easy to accomplish, but I just can't seem to figure it out. I have the following: $str = " mary had a little lamb it's fleece was white as snow and everywhere that mary went the lamb was sure to go"; Using ucfirst($str) will only capitalize the first letter of the string

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Jochem Maas
Richard Heyes schreef: What design patterns do you usually use? Whatever solves the problem. Factory is quite a common one. MVC is another. anyone considered that 'function' and 'class' (given that we seem to be flogging the old OOP v. Functions horse) are both design patterns if you look at

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Jochem Maas
Daniel Brown schreef: On Wed, Feb 27, 2008 at 12:10 PM, tedd <[EMAIL PROTECTED]> wrote: Sure, I understand that if you want to swap databases (MySQL to whatever) having a abstract layer makes it easier. But, it don't make it easier for me in the short term. Or create a simple non-OOP db

RE: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Bastien Koert
> Date: Wed, 27 Feb 2008 14:28:30 -0600> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]; [EMAIL PROTECTED]> CC: php-general@lists.php.net> Subject: RE: > [PHP] Are these Truthful Proof about PHP ??> > [snip]> > I thought ASP was > the language and .NET was the framework.> > I was under this i

Re: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:13 PM, Keikonium <[EMAIL PROTECTED]> wrote: [snip!] > I was thinking something like splitting each new line into a separate > string, capitalizing the first letter with ucfirst(), and then merging the > string back together might work, but I am not sure how to find a ne

Re: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 16:13 -0500, Keikonium wrote: > I'm sure this is really easy to accomplish, but I just can't seem to figure > it out. I have the following: > > $str = " > mary had a little lamb > it's fleece was white as snow > and everywhere that mary went > the lamb was sure to go"; C

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Matty Sarro
Its not bleeding edge unless it's web2.0 ;) On Wed, Feb 27, 2008 at 4:22 PM, Bastien Koert <[EMAIL PROTECTED]> wrote: > > > Date: Wed, 27 Feb 2008 14:28:30 -0600> From: [EMAIL PROTECTED]> To: > [EMAIL PROTECTED]; [EMAIL PROTECTED]> CC: > php-general@lists.php.net> Subject: RE: [PHP] Are these Tru

RE: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Bastien Koert
Nah, I try to keep the 2.0 subtle, where its just cool...some others here use it as a shotgun to kill the fly...just to say the product does it... bastien Date: Wed, 27 Feb 2008 16:26:01 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [PHP] Are these Truthful Proof about PHP ??CC: [EMAI

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Jason Pruim
On Feb 27, 2008, at 4:26 PM, Matty Sarro wrote: Its not bleeding edge unless it's web2.0 ;) I actually just found out the other day from tedd that he's already writing in web3.0... So it's time to catch up! -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holl

Re: [PHP] Performance Problem

2008-02-27 Thread Adriano Manocchia
Whoa. No need to get snippy. I was being sincere in my gratitude for the suggestions. If nothing else, I'm sure I'll be making more use of Xdebug in the future. On Feb 27, 2008, at 3:55 PM, Shawn McKenzie wrote: Adriano Manocchia wrote: Well, I just spent more time messing with httpd's con

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:21 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Daniel Brown schreef: > > Most of my code is like public school on a Sunday or that one > > uncle that no one in the family likes to acknowledge: no class. > > that explains your taste in dresses :-) Bite my shiny

Re: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 16:24 -0500, Robert Cummings wrote: > On Wed, 2008-02-27 at 16:13 -0500, Keikonium wrote: > > I'm sure this is really easy to accomplish, but I just can't seem to figure > > it out. I have the following: > > > > $str = " > > mary had a little lamb > > it's fleece was white

Re: [PHP] Guidance

2008-02-27 Thread Stephen Johnson
This is AWESOME!... I am so saving this post for my next Review... Couldn't have said it better Dan... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- > From: Daniel Brown

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:29 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Feb 27, 2008, at 4:26 PM, Matty Sarro wrote: > > > Its not bleeding edge unless it's web2.0 ;) > > I actually just found out the other day from tedd that he's already > writing in web3.0... So it's time to catch up!

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Daniel Brown wrote: > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: >> Completely off subject, but man I miss quickbasic... that was such a fun >> language to program in way back-in-the-day. So simple! > > Not to mention the ability to add (at the time) decent graphi

Re: [PHP] Guidance

2008-02-27 Thread tedd
At 3:59 PM -0500 2/27/08, Daniel Brown wrote: It is. And in my opinion, web developers - specifically PHP-on-*nix developers - are cream-of-the-crop programmers. Not to toot my own horn. Blattt... fllit. We know - and are not afraid to use - the following technologies, and employ

Re: [PHP] Guidance

2008-02-27 Thread Stut
On 27 Feb 2008, at 20:59, Daniel Brown wrote: So let this be at least a basic retort to those who don't consider web development "real programming." Because you'd be surprised how much I hear, "oh, you work with web stuff, I thought you meant you were a real programmer." Well, I'm not. I

Re: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Keikonium
Thank you again Robert, and thank you too Daniel. I have gotten both methods to work flawlessly so far :). I am slowly learning by trial and error here, but sometimes a little push in the right direction does some good ^_^. Thanks again :). "Robert Cummings" <[EMAIL PROTECTED]> wrote in messag

Re: [PHP] Performance Problem

2008-02-27 Thread Shawn McKenzie
Doh, sorry... I was jokingly replying to: "I was going to suggest that it was most likely an Apache or DNS issue as opposed to PHP, but after I realized I missed that your "php tests were run on a single-line PHP script that simply echoed 'hi' so it couldn't get much simpler than that," I figured

Re: [PHP] Performance Problem

2008-02-27 Thread Ray Hauge
Adriano Manocchia wrote: Whoa. No need to get snippy. I was being sincere in my gratitude for the suggestions. If nothing else, I'm sure I'll be making more use of Xdebug in the future. On Feb 27, 2008, at 3:55 PM, Shawn McKenzie wrote: Adriano Manocchia wrote: Well, I just spent more time

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:38 PM, Stut <[EMAIL PROTECTED]> wrote: [snip!] > If anyone considers themselves a software engineer > rather than a web developer and would like a job in > Windsor drop me a note. Depending on how desperate you get, should you design to nix (no pun intended) the o

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread tedd
At 4:29 PM -0500 2/27/08, Jason Pruim wrote: On Feb 27, 2008, at 4:26 PM, Matty Sarro wrote: Its not bleeding edge unless it's web2.0 ;) I actually just found out the other day from tedd that he's already writing in web3.0... So it's time to catch up! Yeah, but don't follow me down that ro

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:34 PM, tedd <[EMAIL PROTECTED]> wrote: > I would include DOM scripting and understanding what the current buzz > words mean (i.e., graceful degradation, unobtrusive code, accessible, > functional, secure, and compliant). I was going to include "terminology" as a li

Re: [PHP] Start/stop daemon using php

2008-02-27 Thread David Sveningsson
@4u skrev: Hi, You might consider D-BUS for your application and the D-BUS PHP binding which is available since some days too. This would allow you to start / stop your C application in a far more secure way than the suggested one. Please have a look at my original release annoucement at the D-

Re: [PHP] Guidance

2008-02-27 Thread Shawn McKenzie
Stut wrote: > On 27 Feb 2008, at 20:59, Daniel Brown wrote: >>So let this be at least a basic retort to those who don't consider >> web development "real programming." Because you'd be surprised how >> much I hear, "oh, you work with web stuff, I thought you meant you >> were a real programmer

Re: [PHP] Performance Problem

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:29 PM, Adriano Manocchia <[EMAIL PROTECTED]> wrote: > Whoa. No need to get snippy. I was being sincere in my gratitude for > the suggestions. If nothing else, I'm sure I'll be making more use of > Xdebug in the future. I'm not being snippy at all. I was admitting m

Re: [PHP] Guidance

2008-02-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Stut wrote: >> On 27 Feb 2008, at 20:59, Daniel Brown wrote: >>>So let this be at least a basic retort to those who don't consider >>> web development "real programming." Because you'd be surprised how >>> much I hear, "oh, you work with web stuff, I thought you meant y

Re: [PHP] Guidance

2008-02-27 Thread Stut
On 27 Feb 2008, at 21:42, Daniel Brown wrote: On Wed, Feb 27, 2008 at 4:38 PM, Stut <[EMAIL PROTECTED]> wrote: [snip!] If anyone considers themselves a software engineer rather than a web developer and would like a job in Windsor drop me a note. Depending on how desperate you get, should y

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:34 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Daniel Brown wrote: > > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: > >> Completely off subject, but man I miss quickbasic... that was such a fun > >> language to program in way back-in-the-

[PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Jason Pruim
So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P Can someone tell me why this code works for setting the table name: function authentication($user, $pass, $authenticated, $table){ // Keep in mind, PASSW

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Andrew Ballard
On Wed, Feb 27, 2008 at 3:12 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > I thought ASP was the language and .NET was the framework. Not exactly. .NET is the framework, but ASP is not a language. The most common languages for .NET development are usually Visual Basic and C#. However, lots of

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Daniel Brown wrote: > On Wed, Feb 27, 2008 at 4:34 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >> Daniel Brown wrote: >> > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: >> >> Completely off subject, but man I miss quickbasic... that was such a fun >> >> language to p

Re: [PHP] Guidance

2008-02-27 Thread Jason Pruim
On Feb 27, 2008, at 4:38 PM, Stut wrote: On 27 Feb 2008, at 20:59, Daniel Brown wrote: So let this be at least a basic retort to those who don't consider web development "real programming." Because you'd be surprised how much I hear, "oh, you work with web stuff, I thought you meant you wer

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Daniel Brown wrote: >> On Wed, Feb 27, 2008 at 4:34 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >>> Daniel Brown wrote: >>> > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: >>> >> Completely off subject, but man I miss quickbasic... that was such

Re: [PHP] Cannot even come up with the beginning of a regex

2008-02-27 Thread Dotan Cohen
On 27/02/2008, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > sorry that's messed up a bit, as I typed it right here in my mailer ;) > > preg_replace('/\b([^\s]+)a\b.*/U', '$1A', 'whatever i want that hasa a > on the end'); > > greets > > Zoltán Németh > Thank you very much, Zoltan. Is there a kn

Re: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 16:38 -0500, Keikonium wrote: > Thank you again Robert, and thank you too Daniel. I have gotten both methods > to work flawlessly so far :). I am slowly learning by trial and error here, > but sometimes a little push in the right direction does some good ^_^. Nothing again

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 4:55 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > The plus side is that you > can include modules written in different languages into the same > project. that was actually really cool when i first looked at it. nowadays there are tons of projects where scripting langua

Re: [PHP] Guidance

2008-02-27 Thread Robert Cummings
On Wed, 2008-02-27 at 15:48 -0600, Shawn McKenzie wrote: > Stut wrote: > > On 27 Feb 2008, at 20:59, Daniel Brown wrote: > >>So let this be at least a basic retort to those who don't consider > >> web development "real programming." Because you'd be surprised how > >> much I hear, "oh, you wo

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Ray Hauge
Jason Pruim wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P Can someone tell me why this code works for setting the table name: function authentication($user, $pass, $authenticated, $table){ // Keep in mind, PASSWORD ha

Re: [PHP] Start/stop daemon using php

2008-02-27 Thread David Sveningsson
Per Jessen skrev: David Sveningsson wrote: Hi, I've written an application in c which I would like to start/stop as a daemon in gnu/linux. The application has the argument "--daemon" which forks the process and exits the parent. Then it setups a SIGQUIT signal handler to properly cleanup and t

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > So I was supposed to go home a half hour ago but that didn't happen... > I hate deadlines! :P You whine like a mule. [snip!] > function authentication($user, $pass, $authenticated, $table){ > >

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Andrew Ballard
On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > So I was supposed to go home a half hour ago but that didn't happen... > I hate deadlines! :P > > Can someone tell me why this code works for setting the table name: > > function authentication($user, $pass, $authenticated

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Stephen Johnson
Talk about a thread hijack... LOL In my day we had to write basic going up hill in the snow... Both ways... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- > From: Shaw

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 5:01 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Actually, if I recall correctly, I normally had to start with increments > of 100. I always started with 10 and incremented by 10 in both MS and GW BASIC (and on TI, C64, LASER, etc.), because then I could go back a

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Jason Pruim
On Feb 27, 2008, at 5:12 PM, Daniel Brown wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. I know... But I get good answers when I do :P

Re: [PHP] Guidance

2008-02-27 Thread Stut
On 27 Feb 2008, at 21:50, Shawn McKenzie wrote: Shawn McKenzie wrote: Stut wrote: I've interviewed more than my fair share of "web developers" who couldn't reverse an array without using array_reverse if their life depended on it. Sometimes it really does scare me! So my experience is that the

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 5:16 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > I (Dan Brown) wrote this stuff: > >As soon as a function reaches a `return` statement, it returns > > that data and exits, so the second `return` is never processed. > > so the "return $table;" line doesn't ever get p

Re: [PHP] Uppercase first letter of each new line?

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 5:08 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-02-27 at 16:38 -0500, Keikonium wrote: > > Thank you again Robert, and thank you too Daniel. I have gotten both > methods > > to work flawlessly so far :). I am slowly learning by trial and error here,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-27 Thread Ray Hauge
Jason Pruim wrote: On Feb 27, 2008, at 5:12 PM, Daniel Brown wrote: On Wed, Feb 27, 2008 at 4:55 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P You whine like a mule. I know... But I get good answer

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 5:16 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Wed, Feb 27, 2008 at 5:01 PM, Shawn McKenzie <[EMAIL PROTECTED]> > wrote: > > Actually, if I recall correctly, I normally had to start with > increments > > of 100. > > I always started with 10 and incremented by 1

<    1   2   3   >