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

2008-02-27 Thread Zoltán Németh
2008. 02. 27, szerda keltezéssel 14.02-kor tedd ezt írta: > At 6:32 PM +0100 2/27/08, Zoltán Németh wrote: > >thanks to its good class structure if we need to modify something we > >know which file to open and where to modify, even if that class was > >originally the work of someone else in the tea

Re: [PHP] Start/stop daemon using php

2008-02-27 Thread Per Jessen
David Sveningsson wrote: > Per Jessen skrev: >> So obviously something is catching the SIGQUIT before it gets to your >> daemon. You mention "a php site", so I take it you're running >> apache. >> In an apache process you then do an exec(something). I think apache >> is probably taking care of t

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

2008-02-27 Thread Casey
2008/2/27 Dotan Cohen <[EMAIL PROTECTED]>: > 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'); > > > > gree

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Shelley
Nathan Nobbe wrote: On Wed, Feb 27, 2008 at 11:54 PM, Shelley <[EMAIL PROTECTED] > wrote: Nathan Nobbe wrote: > On Wed, Feb 27, 2008 at 11:45 PM, Shelley <[EMAIL PROTECTED] >

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 11:54 PM, Shelley <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: > > On Wed, Feb 27, 2008 at 11:45 PM, Shelley <[EMAIL PROTECTED] > > > wrote: > > > > Really? What I know is there are 70 questions. > > But Im interested in how many right

Re: [PHP] Guidance

2008-02-27 Thread Casey
On Wed, Feb 27, 2008 at 1:04 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > > 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 reall

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Shelley
Nathan Nobbe wrote: On Wed, Feb 27, 2008 at 11:45 PM, Shelley <[EMAIL PROTECTED] > wrote: Really? What I know is there are 70 questions. But Im interested in how many right answers you should make to pass the exam. :-) well im sure you can search the web

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Chris
But Im interested in how many right answers you should make to pass the exam. As many as you can? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 11:45 PM, Shelley <[EMAIL PROTECTED]> wrote: > Really? What I know is there are 70 questions. > But Im interested in how many right answers you should make to pass the > exam. :-) > well im sure you can search the web just as good as i can ;) but anyway, i think its like

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Shelley
Nathan Nobbe wrote: On Wed, Feb 27, 2008 at 10:31 PM, Shelley <[EMAIL PROTECTED] > wrote: Greetings all, Im just need some guidance of how to prepare for the ZCE exam. Is there somebody passed the exam? Any help infor is highly appreciated. i read t

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Casey
On Wed, Feb 27, 2008 at 8:09 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Wed, Feb 27, 2008 at 10:31 PM, Shelley <[EMAIL PROTECTED]> wrote: > > > Greetings all, > > > > Im just need some guidance of how to prepare for the ZCE exam. > > > > Is there somebody passed the exam? Any help infor

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

2008-02-27 Thread Casey
On Wed, Feb 27, 2008 at 10:03 AM, Dare Williams <[EMAIL PROTECTED]> 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 pr

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Wolf
Shelley <[EMAIL PROTECTED]> wrote: > Greetings all, > > Im just need some guidance of how to prepare for the ZCE exam. > > Is there somebody passed the exam? Any help infor is highly appreciated. > > Thanks in advance. Did you really have to post this twice to the list? When posting to

[PHP] Re: Flexible Shopping Cart (was: Shopping Carts)

2008-02-27 Thread Shawn McKenzie
Manuel Barros Reyes wrote: > I've sent a message some hours ago and committed the mistake of > including it inside of an already started thread, don't know if > someone read it. > > The details are in that thread but basically what I am looking for is > a shopping cart that has flexibility with re

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 10:31 PM, Shelley <[EMAIL PROTECTED]> wrote: > Greetings all, > > Im just need some guidance of how to prepare for the ZCE exam. > > Is there somebody passed the exam? Any help infor is highly appreciated. i read the php architect book and paid for 5 of their sample tests

[PHP] ZCE guidance needed

2008-02-27 Thread Shelley
Greetings all, Im just need some guidance of how to prepare for the ZCE exam. Is there somebody passed the exam? Any help infor is highly appreciated. Thanks in advance. -- Regards, Shelley

[PHP] ZCE guidance needed

2008-02-27 Thread Shelley
Greetings all, Im just need some guidance of how to prepare for the ZCE exam. Is there somebody passed the exam? Any help infor is highly appreciated. Thanks in advance. -- Regards, Shelley

[PHP] Choose Your Common Design Patterns

2008-02-27 Thread skylark
Hi guys, Relex a little on the topic "What design patterns do you usually use". Choose the ones you use often at: http:// phparch [dot] cn And this will answer that question, isn't it? Those options are the ones that we often use. If there is any option needed to be replaced, just let me know. Yo

Re: [PHP] sort in while(list($vars) = mysql_fetch_row($result))

2008-02-27 Thread Chris
Verdon Vaillancourt wrote: Hi, I'm running into some sorting issues using a while(list($vars) = mysql_fetch_row($result)). I can provide more code if needed, but thought I would try this little bit first to see if I'm missing a fundamental concept and not a detail. In a nutshell, I have a q

Re: [PHP] Multiple Inheritance

2008-02-27 Thread chetan rane
Thanks Nathan, I had already done that using the Objects of the 2 classes as shown by you in the example 1. but there are one thing in that. If i create the Objects i cannot access the Protected Data from teh parent classes. On Thu, Feb 28, 2008 at 4:33 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:

[PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-27 Thread Manuel Barros Reyes
I've sent a message some hours ago and committed the mistake of including it inside of an already started thread, don't know if someone read it. The details are in that thread but basically what I am looking for is a shopping cart that has flexibility with respect to the graphical layout of elemen

Re: [PHP] Guidance

2008-02-27 Thread Robert Cummings
On Thu, 2008-02-28 at 02:21 +0100, Jochem Maas wrote: > Stut schreef: > > > > It's worth noting that I've asked the same question to more than a > > few interviewees for traditional C/C++ roles, and I never came > > across one that couldn't do it which I find quite interesting. > > > > Incidental

Re: [PHP] Guidance

2008-02-27 Thread Jochem Maas
Stut schreef: On 27 Feb 2008, at 23:25, Jochem Maas wrote: Stut schreef: I DID NOT!! It was him! I only schreef in private! that's what they all say ... my thunderbird knows different ;-) I've interviewed more than my fair share of "web developers" who couldn't reverse an array without

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

2008-02-27 Thread Shawn McKenzie
Daniel Brown 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 10 in both MS and GW > BASIC (and on TI, C64, LASER, etc.),

Re: [PHP] Guidance

2008-02-27 Thread tedd
At 11:52 PM + 2/27/08, Stut wrote: It's worth noting that I've asked the same question to more than a few interviewees for traditional C/C++ roles, and I never came across one that couldn't do it which I find quite interesting. Incidentally, the same distinction between engineers and devel

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

2008-02-27 Thread tedd
At 2:15 PM -0800 2/27/08, Stephen Johnson wrote: Talk about a thread hijack... LOL In my day we had to write basic going up hill in the snow... Both ways... You had snow? In my day it was just glaciers -- as far as the eye could see. We used to freeze our rocks -- I did mention that that's h

Re: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Brian Dunning
Adding this command solved it. Thanks to everyone! I did not even know this command existed. On Feb 27, 2008, at 3:46 PM, Andrés Robinet wrote: Use the -c command line option to be sure, for example: C:\php5\php.exe -c "C:\php5\php.ini" -f "D:\wamp\www\scriptname.php" -- -- PHP General

Re: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Jochem Maas
Brian Dunning schreef: Don't laugh but we have a Win 2003 Server set up with WAMP, and the PHP/MySQL scripts work great. I set one up to run as a scheduled task: C:\php5\php.exe "D:\wamp\www\scriptname.php" ...but nothing happens and the Scheduled Tasks log says that it exited with an (ff). S

RE: [PHP] Guidance

2008-02-27 Thread Bastien Koert
UK? I was hoping for Windsor Ontario Canada bastien > CC: php-general@lists.php.net > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Wed, 27 Feb 2008 22:21:59 + > Subject: Re: [PHP] Guidance > > On 27 Feb 2008, at 21:50, Shawn McKenzie wr

Re: [PHP] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 6:52 PM, Stut <[EMAIL PROTECTED]> wrote: > On 27 Feb 2008, at 23:25, Jochem Maas wrote: > > Stut schreef: > > I DID NOT!! It was him! I only schreef in private! Sure, blame it on me > I'm not knocking those who don't apply software engineering principals > to t

Re: [PHP] Guidance

2008-02-27 Thread tedd
At 10:21 PM + 2/27/08, Stut wrote: Anyways, I assume you're based in the US somewhere so unless you're considering emigrating to the UK you were never in the running. -Stut Running? I thought that emigrating was E migrating . You know, like we all form an V and flap around. :-) It's g

Re: [PHP] Guidance

2008-02-27 Thread Stut
On 27 Feb 2008, at 23:25, Jochem Maas wrote: Stut schreef: I DID NOT!! It was him! I only schreef in private! 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 h

RE: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Andrés Robinet
> -Original Message- > From: Ray Hauge [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 27, 2008 6:42 PM > To: Brian Dunning > Cc: php-general@lists.php.net > Subject: Re: [PHP] Functions not available when run as Scheduled Task? > > Brian Dunning wrote: > > Don't laugh but we have a

Re: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 6:37 PM, Brian Dunning <[EMAIL PROTECTED]> wrote: > Don't laugh but we have a Win 2003 Server set up with WAMP, and the > PHP/MySQL scripts work great. I set one up to run as a scheduled task: > > C:\php5\php.exe "D:\wamp\www\scriptname.php" > > ...but nothing happens and

Re: [PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Ray Hauge
Brian Dunning wrote: Don't laugh but we have a Win 2003 Server set up with WAMP, and the PHP/MySQL scripts work great. I set one up to run as a scheduled task: C:\php5\php.exe "D:\wamp\www\scriptname.php" ...but nothing happens and the Scheduled Tasks log says that it exited with an (ff). So

[PHP] Functions not available when run as Scheduled Task?

2008-02-27 Thread Brian Dunning
Don't laugh but we have a Win 2003 Server set up with WAMP, and the PHP/MySQL scripts work great. I set one up to run as a scheduled task: C:\php5\php.exe "D:\wamp\www\scriptname.php" ...but nothing happens and the Scheduled Tasks log says that it exited with an (ff). So I entered the above

Re: [PHP] Guidance

2008-02-27 Thread Jochem Maas
Daniel Brown schreef: 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 "

Re: [PHP] Guidance

2008-02-27 Thread Jochem Maas
Stut schreef: 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." We

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

2008-02-27 Thread Andrés Robinet
> -Original Message- > From: M. Sokolewicz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 27, 2008 6:06 PM > To: Daniel Brown > Cc: Robert Cummings; Keikonium; php-general@lists.php.net > Subject: Re: [PHP] Uppercase first letter of each new line? > > Daniel Brown wrote: > > On Wed,

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

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 6:05 PM, M. Sokolewicz <[EMAIL PROTECTED]> wrote: > And what happens if someone uses a(n old) Mac? Where it's just \r (no \n > at all) :) A very good point! Anyone who may be accessing the page and sending data from a pre-OS9 system, an Apple IIe (or any Apple II

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

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 5:58 PM, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > Nathan Nobbe wrote: > > adding layers of abstraction arbitrarily is foolish no matter what style > the > > code is written in. design patterns are largely methodologies for > adding > > abstraction but it takes time a

Re: [PHP] Guidance

2008-02-27 Thread Jochem Maas
Matty Sarro schreef: 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 bear

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

2008-02-27 Thread M. Sokolewicz
Daniel Brown wrote: 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

Re: [PHP] Multiple Inheritance

2008-02-27 Thread Nathan Nobbe
On Wed, Feb 27, 2008 at 12:05 PM, chetan rane <[EMAIL PROTECTED]> wrote: > Hi All > > Dose anyone know how to implement multiple inheritance in PHP 5. > Interfaces dosent work . I have already Tried it. the idea in a single inheritance language is to implement 'multiple inheritance' in the follo

RE: [PHP] Re: Getting the name of a function

2008-02-27 Thread Andrés Robinet
> -Original Message- > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 27, 2008 3:58 PM > To: php-general@lists.php.net > Subject: [PHP] Re: Getting the name of a function > > Richard S. Crawford wrote: > > For my own amusement, I'm writing a function that will p

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

2008-02-27 Thread Aschwin Wesselius
Nathan Nobbe wrote: adding layers of abstraction arbitrarily is foolish no matter what style the code is written in. design patterns are largely methodologies for adding abstraction but it takes time and practice to know when to use a particular pattern and how to implement it. one of the things

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

2008-02-27 Thread Jochem Maas
Jason Pruim schreef: So I was supposed to go home a half hour ago but that didn't happen... I hate deadlines! :P in my home language Pruim means prune ... you sound like you've had to suck on one to many ;-) Can someone tell me why this code works for setting the table name: dunno. lets re

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] Guidance

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 5:35 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > $yarra We have a wiener. -- 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] Test

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 5:33 PM, Ray Hauge <[EMAIL PROTECTED]> wrote: > I recently figured out how to use two SMTP accounts in Thunderbird. > Hopefully this will help the list to not count me as spam so much (I was > using my own host to send as gmail... doesn't work so well). I hadn't notic

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

2008-02-27 Thread Andrés Robinet
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 27, 2008 5:09 PM > To: Keikonium > Cc: php-general@lists.php.net > Subject: Re: [PHP] Uppercase first letter of each new line? > > > On Wed, 2008-02-27 at 16:38 -0500, Keikonium wrote: > > T

Re: [PHP] Guidance

2008-02-27 Thread Nathan Rixham
Robert Cummings wrote: On Wed, 2008-02-27 at 15:48 -0600, Shawn McKenzie wrote: Stut wrote: On 27 Feb 2008, at 20:59, Daniel Brown 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. forea

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

2008-02-27 Thread Stut
On 27 Feb 2008, at 22:16, 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: function authentication($user, $pass, $authenticated, $table){ // Keep in mind, PASSWORD has meanin

[PHP] Test

2008-02-27 Thread Ray Hauge
I recently figured out how to use two SMTP accounts in Thunderbird. Hopefully this will help the list to not count me as spam so much (I was using my own host to send as gmail... doesn't work so well). Thanks, -- Ray Hauge www.primateapplications.com -- PHP General Mailing List (http://www.php

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

2008-02-27 Thread Jason Pruim
After some comments from people, and some reading and looking... I got it to work... Once I took the "return $table" line out and set "$table = $row1['tableName']" it worked like a charm! So thank you all who pipped up! You guys are the reason I keep fighting with learning to code! I think

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

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] 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 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] 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 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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
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] 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

[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 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-

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] 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] 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
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] 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 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] 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: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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 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] 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

  1   2   3   >