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

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

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

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

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

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

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

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

[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

[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

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

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

<    1   2   3