php-general Digest 19 Jul 2012 16:18:35 -0000 Issue 7893

2012-07-19 Thread php-general-digest-help
php-general Digest 19 Jul 2012 16:18:35 - Issue 7893 Topics (messages 318497 through 318504): Re: Creating drop-down menus 318497 by: James Newman 318498 by: Paul M Foster 318500 by: Andrew Ballard 318501 by: Tim Streater Re: SOAP and Php question about

[PHP] difference PEAR PECL

2012-07-19 Thread Mihamina Rakotomandimby
Hi all, Wondering about the difference between PECL and PEAR, I found: http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear Is it a suitable answer? If so, several Linux ditribution have: * php-pecl-xxx (PECL) * php-pear-vvv (PEAR) * php-yyy (???) packages (rpm and deb). What

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby miham...@rktmb.org wrote: Hi all, Wondering about the difference between PECL and PEAR, I found: http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear Is it a suitable answer? It's close. PECL (sometimes pronounced

Re: [PHP] Creating drop-down menus

2012-07-19 Thread Tedd Sperling
On Jul 16, 2012, at 4:16 PM, Ramiro Barrantes ram...@precisionbioassay.com wrote: Hello, I am making an application using PHP/Javascript/mysql and had a question. Sometimes I need to use javascript to fill a drop down box based on the value of a previous drop down box. However, the

[PHP] What do you call the end-user?

2012-07-19 Thread Tedd Sperling
Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do you call the people who ultimately use your code? I call them the end-user, but others have stated other terms, such as customer or user. Second question: Are you concerned with their (whomever)

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 1:26 PM, Tedd Sperling t...@sperling.com wrote: What do you call the people who ultimately use your code? If they're using the *code*, then user or developer. If they're using the finished product (site, application, or results thereof), then end-user, customer,

Re: [PHP] Creating drop-down menus

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 1:25 PM, Tedd Sperling t...@sperling.com wrote: As for the discussion re jQuery and such, there's no need -- it was not used in this demo. IOW, no jQuery was harmed. I am not against jQuery, on the contrary I think it's great, but it's not always needed for

RE: [PHP] What do you call the end-user?

2012-07-19 Thread Jeff Burcher
Hi, I have always held that the opinion of the end-user/customer is the most important goal in any systems development project, small or large, regardless of the programming language/environment. The database structure, programming, and interfaces are your product. If folks don't like it or can't

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Lester Caine
Tedd Sperling wrote: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do you call the people who ultimately use your code? I call them the end-user, but others have stated other terms, such as customer or user. If they are paying they are customers, if

RE: [PHP] What do you call the end-user?

2012-07-19 Thread admin
-Original Message- From: Tedd Sperling [mailto:t...@sperling.com] Sent: Thursday, July 19, 2012 1:27 PM To: php-general@lists.php.net General Subject: [PHP] What do you call the end-user? Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What

[PHP] The Cat Signal

2012-07-19 Thread Kris Craig
Hey guys, I just became aware of this: http://internetdefenseleague.org/ It's a site setup by Mozilla, Reddit, and others to defend internet freedom in the wake of recent legislative events in the U.S. and elsewhere (full members list here: http://www.internetdefenseleague.org/members).

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Tedd Sperling
On Jul 19, 2012, at 1:54 PM, admin ad...@buskirkgraphics.com wrote: My goal in life has been to develop the ultimate portal that thinks for you and less dependent on your interactions. I am close to finishing a learning module that learns from your interactions and navigates according to your

Re: [PHP] The Cat Signal

2012-07-19 Thread Daniel Brown
Forwarding to php-webmas...@lists.php.net, as it's not a general user issue where it pertains to php.net. On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig kris.cr...@gmail.com wrote: Hey guys, I just became aware of this: http://internetdefenseleague.org/ It's a site setup by Mozilla,

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Matijn Woudt
On Thu, Jul 19, 2012 at 6:58 PM, Daniel Brown danbr...@php.net wrote: On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby miham...@rktmb.org wrote: Hi all, Wondering about the difference between PECL and PEAR, I found: http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 2:26 PM, Matijn Woudt tijn...@gmail.com wrote: Is this really the recommended way on distros' which package the pecl packages? It seems to me it would be better to use the distros' version, so it has the required patches (if any) for them to work correctly on the

[PHP] magic getter

2012-07-19 Thread Sebastian
Hi all, is this a bug, or a feature? class Foo { private $data; public function __get($name) { return $this-data[$name]; } } $foo = new Foo(); $foo-color = 'red'; echo $foo-color; I would expect an error, or a least a notice, but it prints out red ... -- PHP General Mailing

[PHP] magic getter

2012-07-19 Thread Sebastian
Hi all, is this a bug, or a feature? class Foo { private $data; public function __get($name) { return $this-data[$name]; } } $foo = new Foo(); $foo-color = 'red'; echo $foo-color; I would expect an error, or a least a notice, but it prints out red ... -- PHP General Mailing

Re: [PHP] magic getter

2012-07-19 Thread Matijn Woudt
On Thu, Jul 19, 2012 at 9:22 PM, Sebastian php-maill...@elygor.de wrote: Hi all, is this a bug, or a feature? class Foo { private $data; public function __get($name) { return $this-data[$name]; } } $foo = new Foo(); $foo-color = 'red'; echo $foo-color; I would

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Ferenc Kovacs
2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta: Forwarding to php-webmas...@lists.php.net, as it's not a general user issue where it pertains to php.net. On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig kris.cr...@gmail.com wrote: Hey guys, I just became aware of this:

Re: [PHP] magic getter

2012-07-19 Thread Jim Lucas
On 07/19/2012 12:22 PM, Sebastian wrote: Hi all, is this a bug, or a feature? class Foo { private $data; public function __get($name) { return $this-data[$name]; } } $foo = new Foo(); $foo-color = 'red'; echo $foo-color; I would expect an error, or a least a notice, but it prints out red

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 12:36 PM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta: Forwarding to php-webmas...@lists.php.net, as it's not a general user issue where it pertains to php.net. On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Hannes Magnusson
On Thu, Jul 19, 2012 at 8:36 PM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta: Forwarding to php-webmas...@lists.php.net, as it's not a general user issue where it pertains to php.net. On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig

RE: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Jeff Burcher
Hi, I have been out of the loop and just did some quick skimming of SOPA/PIPA to see what all the fuss was about. PIPA seems a little vague, but SOPA seems pretty straight forward, stop piracy of copyrighted materials. I don't understand what is wrong with that? Thanks, Jeff Burcher - IT Dept

Re: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Lester Caine
Jeff Burcher wrote: I have been out of the loop and just did some quick skimming of SOPA/PIPA to see what all the fuss was about. PIPA seems a little vague, but SOPA seems pretty straight forward, stop piracy of copyrighted materials. I don't understand what is wrong with that? It depends on

RE: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Jeff Burcher
Hi, I agree. My wife is from China and both copyright issues and government enforcement of things have a whole new meaning there, so I understand the concerns on both sides. Thanks, Jeff Burcher - IT Dept Allred Metal Stamping PO Box 2566 High Point, NC 27261 (336)886-5221 x229

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Ferenc Kovacs
Btw. we were asked by the to join the league as we were a big traffic source on the black out day. I don't know if Rasmus is on the webmaster list or not, but we should cc him, as he was the driving force behind us joining the anti SOPA movement. He is everywhere. But I thought we

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote: Btw. we were asked by the to join the league as we were a big traffic source on the black out day. I don't know if Rasmus is on the webmaster list or not, but we should cc him, as he was the driving force behind us

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Hannes Magnusson
On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote: Btw. we were asked by the to join the league as we were a big traffic source on the black out day. I don't know if Rasmus is on the webmaster

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Kris Craig
On Thu, Jul 19, 2012 at 2:11 PM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote: Btw. we were asked by the to join the league as we

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Hannes Magnusson
On Thu, Jul 19, 2012 at 10:16 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 2:11 PM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs

Re: [PHP] magic getter

2012-07-19 Thread David Harkness
If you want to block setting of public properties on your class, implement the magic setter. class Foo { private $data = array(); function __get($name) { return $this-data[$name]; } function __set($name, $value) { if ($name != 'foo') {

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Paul M Foster
On Thu, Jul 19, 2012 at 01:26:50PM -0400, Tedd Sperling wrote: Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do you call the people who ultimately use your code? I call them the end-user, but others have stated other terms, such as

RE: [PHP] What do you call the end-user?

2012-07-19 Thread admin
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Thursday, July 19, 2012 6:31 PM To: php-general@lists.php.net Subject: Re: [PHP] What do you call the end-user? On Thu, Jul 19, 2012 at 01:26:50PM -0400, Tedd Sperling wrote: Hi gang: I can't wait for

Re: [PHP] What do you call the end-user?

2012-07-19 Thread tamouse mailing lists
On Thu, Jul 19, 2012 at 12:26 PM, Tedd Sperling t...@sperling.com wrote: Hi gang: I can't wait for tomorrow -- so here's my off-topic post today. First question: What do you call the people who ultimately use your code? It all depends on where and how my code is ultimately used. If it is

Re: [PHP] Creating drop-down menus

2012-07-19 Thread Tedd Sperling
On Jul 19, 2012, at 1:50 PM, Daniel Brown danbr...@php.net wrote: As an aside on the subject of jQuery, our very own Jay Blanchard has written a comprehensive book on the topic entitled Applied jQuery: Develop and Design: http://links.parasane.net/92xb Just bought it --

Re: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Paul M Foster
On Thu, Jul 19, 2012 at 03:45:46PM -0400, Jeff Burcher wrote: Hi, I have been out of the loop and just did some quick skimming of SOPA/PIPA to see what all the fuss was about. PIPA seems a little vague, but SOPA seems pretty straight forward, stop piracy of copyrighted materials. I don't

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Paul M Foster
On Thu, Jul 19, 2012 at 06:57:53PM -0400, admin wrote: [snip] LOL Paul, You are so very spot on, I have a current customer who would like the website to just load when he logs in. I wish I had not agreed to writing him a startup script to load the interface for him because NOW he