php-general Digest 21 Oct 2008 18:32:56 -0000 Issue 5748

2008-10-21 Thread php-general-digest-help
php-general Digest 21 Oct 2008 18:32:56 - Issue 5748 Topics (messages 282173 through 282209): Re: Mass email 282173 by: Richard Heyes Re: Remote Developer Wanted 282174 by: Brennon Bortz 282183 by: Daniel Brown 282184 by: Jay Moore 282186 by: Daniel

[PHP] Accessibility problem with delegates

2008-10-21 Thread Dave Kok
Hi Everyone, I have a class with some callback functions and a class that should call them. The class with the callback functions initializes the array with the callbacks and hands it down to the other class that should call them. PHP however forces the callback functions to be public, so the

Re: [PHP] Mass email

2008-10-21 Thread Richard Heyes
I have a client who wants to send out mass emails to 37,000+ opt-in members (i.e., not spam). Any suggestions as to the best way to do this? Outsource it. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org -- PHP General Mailing List

RE: [PHP] Remote Developer Wanted

2008-10-21 Thread Brennon Bortz
Actually, speaking as someone now living in the UK, your low end is LESS than minimum wage here. Rather insulting, if you ask me... Brennon Bortz -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 2:32 AM To: Andy Dyble Cc:

Re: [PHP] Securing AJAX requests with PHP?

2008-10-21 Thread Yeti
True, but then my permission / auth / workflow schema defines all that. the user won't like have that permission, the request will be logged and nothing is ever deleted from the app in any case since I only allow soft (record level flag ) deletes to ensure data integrity I agree with Bastien

Re: [PHP] Accessibility problem with delegates

2008-10-21 Thread Jochem Maas
Dave Kok schreef: Hi Everyone, I have a class with some callback functions and a class that should call them. The class with the callback functions initializes the array with the callbacks and hands it down to the other class that should call them. PHP however forces the callback functions

Re: [PHP] what's the difference in the following code?

2008-10-21 Thread Yeti
OP = original poster (in this case I guess) http://acronyms.thefreedictionary.com/OP So it's all about making code readable and probably easier to maintain (even people unfamiliar with the script). Doesn't that render the ternary operator IF-statement unnecessary? Have I been totally wrong using

[PHP] Politics

2008-10-21 Thread Amy
representations emphasizing leksr matching thirds painfully wakesleep ekswiezeezeewie accompanied -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Politics

2008-10-21 Thread Chrome
-Original Message- From: Amy [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 11:58 To: php-general@lists.php.net Subject: [PHP] Politics representations emphasizing leksr matching thirds painfully wakesleep ekswiezeezeewie accompanied Have you tried restarting Apache? :) --

Re: [PHP] what's the difference in the following code?

2008-10-21 Thread Jochem Maas
tedd schreef: At 6:37 AM -0700 10/20/08, Lamp Lists wrote: - Original Message From: tedd [EMAIL PROTECTED] To: Lamp Lists [EMAIL PROTECTED]; php-general@lists.php.net Sent: Monday, October 20, 2008 8:25:50 AM Subject: Re: [PHP] what's the difference in the following code? At

Re: [PHP] what's the difference in the following code?

2008-10-21 Thread tedd
At 2:44 AM -0700 10/21/08, Yeti wrote: Somebody please tell me that I do not have to rewrite my code base now, since I care about security. You do not have to rewrite your code because you use ternary operators! Nobody said that. Again, Chris was not saying that it was the use of the

RE: [PHP] How to Execute Exe File from PHP

2008-10-21 Thread Alice Wei
Hi, Guys: Sorry about bothering everyone about this problem. It seems strange that now I try to create some arguments after what I tried to execute, it does not give me a thing. I get no error messages. No output file, and only a blank screen when I put the following snippet into the

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Daniel Brown
On Tue, Oct 21, 2008 at 4:26 AM, Brennon Bortz [EMAIL PROTECTED] wrote: Actually, speaking as someone now living in the UK, your low end is LESS than minimum wage here. Rather insulting, if you ask me... Simple advice then: delete the message and don't reply. -- /Daniel P. Brown

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jay Moore
Daniel Brown wrote: On Tue, Oct 21, 2008 at 4:26 AM, Brennon Bortz [EMAIL PROTECTED] wrote: Actually, speaking as someone now living in the UK, your low end is LESS than minimum wage here. Rather insulting, if you ask me... Simple advice then: delete the message and don't reply.

[PHP] table and class

2008-10-21 Thread Alain Roger
Hi, in my web application (as quite all web applications) i have a lot of tables. I mean by table the table tag with for sure some data displayed in it from SQL requests. To not have to write the whole code every time i was thinking to make a class that : - will manage the whole design (color,

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Daniel Brown
On Tue, Oct 21, 2008 at 10:20 AM, Jay Moore [EMAIL PROTECTED] wrote: Striker Surely you can't be serious. /Striker I am serious. And don't call me Shirley. -- /Daniel P. Brown http://www.parasane.net/ [New Look] [EMAIL PROTECTED] || [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] Re: table and class

2008-10-21 Thread Nathan Rixham
Alain Roger wrote: Hi, in my web application (as quite all web applications) i have a lot of tables. I mean by table the table tag with for sure some data displayed in it from SQL requests. To not have to write the whole code every time i was thinking to make a class that : - will manage the

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Rene Veerman
Daniel Brown wrote: On Tue, Oct 21, 2008 at 4:26 AM, Brennon Bortz [EMAIL PROTECTED] wrote: Actually, speaking as someone now living in the UK, your low end is LESS than minimum wage here. Rather insulting, if you ask me... Simple advice then: delete the message and don't reply.

Re: [PHP] Politics

2008-10-21 Thread Jim Lucas
Chrome wrote: -Original Message- From: Amy [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 11:58 To: php-general@lists.php.net Subject: [PHP] Politics representations emphasizing leksr matching thirds painfully wakesleep ekswiezeezeewie accompanied Have you tried restarting

Re: [PHP] Politics

2008-10-21 Thread Robert Cummings
On Tue, 2008-10-21 at 08:01 -0700, Jim Lucas wrote: Chrome wrote: -Original Message- From: Amy [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 11:58 To: php-general@lists.php.net Subject: [PHP] Politics representations emphasizing leksr matching thirds painfully wakesleep

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Robert Cummings
On Tue, 2008-10-21 at 10:23 -0400, Daniel Brown wrote: On Tue, Oct 21, 2008 at 10:20 AM, Jay Moore [EMAIL PROTECTED] wrote: Striker Surely you can't be serious. /Striker I am serious. And don't call me Shirley. You must be new around here... Shirley! :D Cheers, Rob. --

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Daniel Brown
On Tue, Oct 21, 2008 at 11:31 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must be new around here... Shirley! Yes, brand new. This is only my second post --- and only the third email I've ever sent in my life. How do you PHP? ;-P -- /Daniel P. Brown

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jay Moore
Daniel Brown wrote: On Tue, Oct 21, 2008 at 11:31 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must be new around here... Shirley! Yes, brand new. This is only my second post --- and only the third email I've ever sent in my life. How do you PHP? ;-P Standing up.

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jay Moore
Jay Moore wrote: Daniel Brown wrote: On Tue, Oct 21, 2008 at 11:31 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must be new around here... Shirley! Yes, brand new. This is only my second post --- and only the third email I've ever sent in my life. How do you PHP? ;-P

Re: [PHP] Politics

2008-10-21 Thread Nathan Rixham
Robert Cummings wrote: On Tue, 2008-10-21 at 08:01 -0700, Jim Lucas wrote: Chrome wrote: -Original Message- From: Amy [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 11:58 To: php-general@lists.php.net Subject: [PHP] Politics representations emphasizing leksr matching thirds

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jochem Maas
Daniel Brown schreef: On Tue, Oct 21, 2008 at 4:26 AM, Brennon Bortz [EMAIL PROTECTED] wrote: Actually, speaking as someone now living in the UK, your low end is LESS than minimum wage here. Rather insulting, if you ask me... Simple advice then: delete the message and don't reply. and

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jochem Maas
Jay Moore schreef: Jay Moore wrote: Daniel Brown wrote: On Tue, Oct 21, 2008 at 11:31 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must be new around here... Shirley! Yes, brand new. This is only my second post --- and only the third email I've ever sent in my life. How do you

Re: [PHP] Politics

2008-10-21 Thread Wolf
Nathan Rixham [EMAIL PROTECTED] wrote: Robert Cummings wrote: On Tue, 2008-10-21 at 08:01 -0700, Jim Lucas wrote: Chrome wrote: -Original Message- From: Amy [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 11:58 To: php-general@lists.php.net Subject: [PHP] Politics

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Daniel Brown
On Tue, Oct 21, 2008 at 12:03 PM, Jochem Maas [EMAIL PROTECTED] wrote: and rob myself of the sport? your no fun since your married Shirley ;-) Coincidentally, that's exactly what my wife says. -- /Daniel P. Brown http://www.parasane.net/ [New Look] [EMAIL PROTECTED] || [EMAIL PROTECTED]

Re: [PHP] Securing AJAX requests with PHP?

2008-10-21 Thread Eric Butera
On Tue, Oct 21, 2008 at 5:12 AM, Yeti [EMAIL PROTECTED] wrote: True, but then my permission / auth / workflow schema defines all that. the user won't like have that permission, the request will be logged and nothing is ever deleted from the app in any case since I only allow soft (record level

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jochem Maas
Daniel Brown schreef: On Tue, Oct 21, 2008 at 12:03 PM, Jochem Maas [EMAIL PROTECTED] wrote: and rob myself of the sport? your no fun since your married Shirley ;-) Coincidentally, that's exactly what my wife says. your wife calls you Shirley? your definitely doing *something* wrong ...

Re: [PHP] Politics

2008-10-21 Thread Jochem Maas
Amy schreef: representations emphasizing leksr matching thirds painfully wakesleep ekswiezeezeewie accompanied incidently. the word politics ... seemingly a combination of 'poli' (aka many) and 'tics' (aka 'bloodsucking wotsits') ... all too apt. -- PHP General Mailing List

Re: [PHP] How to Execute Exe File from PHP

2008-10-21 Thread Paulo Sousa
Hi Alice First, make sure about the value on $market and $length. Yeah, it's simple. echo $market; echo $length; $a= shell_exec(./test.exe -m$market -d$length); echo $a; Second: http://www.chipmunkninja.com/Program-Execution-in-PHP:-exec-m@@; A good explanation to use external commands

[PHP] display_errors in DEV

2008-10-21 Thread ceo
Until recently, I've thought that display_errors in DEV was good But as soon as you move into Ajax Web 2.0 world, it really doesn't cut it. You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably, and the whole thing might just work but you'll have plenty of buggy code. I

[PHP] ZendOptimizer + APC

2008-10-21 Thread Jochem Maas
anyone know whether running ZendOptimizer + APC simultaneously still causes allsorts of problems ... I know it did in the past but I can't find any very recent stuff about the issues online. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] display_errors in DEV

2008-10-21 Thread Robert Cummings
On Tue, 2008-10-21 at 16:33 +, [EMAIL PROTECTED] wrote: Until recently, I've thought that display_errors in DEV was good But as soon as you move into Ajax Web 2.0 world, it really doesn't cut it. You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably, and the whole

Re: [PHP] display_errors in DEV

2008-10-21 Thread Eric Butera
On Tue, Oct 21, 2008 at 12:33 PM, [EMAIL PROTECTED] wrote: Until recently, I've thought that display_errors in DEV was good But as soon as you move into Ajax Web 2.0 world, it really doesn't cut it. You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably, and the whole thing

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Nitsan Bin-Nun
I'm 16 years old and have a steady income for the last 3 month as PHP developer company in Israel which pays me almost doubled then your high rate (if you convert it from Israeli Shequl to $). I wouldn't work for less than 20$ per hour - that's for sure. I don't think your will find a good

RE: [PHP] display_errors in DEV

2008-10-21 Thread Boyd, Todd M.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 11:33 AM To: php-general@lists.php.net Subject: [PHP] display_errors in DEV Until recently, I've thought that display_errors in DEV was good But as soon as you move into Ajax

[PHP] class and inheritance

2008-10-21 Thread Alain Roger
Hi, I'm trying to create a class that has as public members some other class object. for that i use almost the same syntax as under C# or C++. header class: ?php class CARMainHeader { // title of the main table header private $mTitle = null; // holds the height of the table

[PHP] Re: class and inheritance

2008-10-21 Thread Maciek Sokolewicz
Alain Roger wrote: Hi, I'm trying to create a class that has as public members some other class object. for that i use almost the same syntax as under C# or C++. header class: ?php class CARMainHeader { // title of the main table header private $mTitle = null; // holds the

Re: [PHP] 2 successive commands in one shell_exec?

2008-10-21 Thread Oscar Gosdinski
On Mon, Oct 20, 2008 at 9:16 PM, Govinda [EMAIL PROTECTED] wrote: I mean I need to do that, and so with my very newbie level of understanding I think I need to have that shell_exec essentially do 2 things at once: -goto the right dir, and then -fire the script in that dir. like these 2

[PHP] Question about __destruct()

2008-10-21 Thread Dan Joseph
Hi, I want to make sure I completely understand __destruct() and when its hit... Understand that it will run if all references to a particular object are removed, but is that also true when a page ends its execution? Example, I call a database class. It constructs, connects, then my page pulls

[PHP] Re: display_errors in DEV

2008-10-21 Thread Mike van Riel
[EMAIL PROTECTED] wrote: Until recently, I've thought that display_errors in DEV was good But as soon as you move into Ajax Web 2.0 world, it really doesn't cut it. You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably, and the whole thing might just work but you'll have

[PHP] Re: Question about __destruct()

2008-10-21 Thread Mike van Riel
Dan Joseph wrote: Hi, I want to make sure I completely understand __destruct() and when its hit... Understand that it will run if all references to a particular object are removed, but is that also true when a page ends its execution? Example, I call a database class. It constructs,

Re: [PHP] Re: Question about __destruct()

2008-10-21 Thread Jochem Maas
Mike van Riel schreef: Dan Joseph wrote: Hi, I want to make sure I completely understand __destruct() and when its hit... Understand that it will run if all references to a particular object are removed, but is that also true when a page ends its execution? Example, I call a database

Re: [PHP] Re: Question about __destruct()

2008-10-21 Thread Stut
On 21 Oct 2008, at 22:08, Jochem Maas wrote: Mike van Riel schreef: Dan Joseph wrote: Hi, I want to make sure I completely understand __destruct() and when its hit... Understand that it will run if all references to a particular object are removed, but is that also true when a page

Re: [PHP] Re: Question about __destruct()

2008-10-21 Thread Jochem Maas
Stut schreef: On 21 Oct 2008, at 22:08, Jochem Maas wrote: Mike van Riel schreef: Dan Joseph wrote: Hi, I want to make sure I completely understand __destruct() and when its hit... Understand that it will run if all references to a particular object are removed, but is that also true

RE: [PHP] How to Execute Exe File from PHP

2008-10-21 Thread Alice Wei
HI, To answer your questions, I run this on Windows. What is so weird is that when I do $a= shell_exec(C:\Inetpub\wwwroot\/test.exe -m$market -d$length); echo $a; It works, and echoes everything as it is supposed to, and the file is also generated like I expected. However, the PHP file

[PHP] -help

2008-10-21 Thread devta singh
-- - Devta Singh http://yogakundalini.com/ http://devta.wordpress.com/ Nada hay como ver despertar a otros y verles expandir su conciencia, salvo hacerlo uno mismo.

Re: [PHP] ZendOptimizer + APC

2008-10-21 Thread Nathan Nobbe
On Tue, Oct 21, 2008 at 10:35 AM, Jochem Maas [EMAIL PROTECTED] wrote: anyone know whether running ZendOptimizer + APC simultaneously still causes allsorts of problems ... I know it did in the past but I can't find any very recent stuff about the issues online. never tried it, but 2 small

[PHP] Mysql search

2008-10-21 Thread Ryan S
Hey all, I have two columns in my DB title varchar(254) and jtext text which I would like to search, as the user might enter two or more words I am opting not to use LIKE %search_term% so started searching google, I came across this very promising class:

Re: [PHP] Mysql search

2008-10-21 Thread Robert Cummings
On Tue, 2008-10-21 at 21:48 -0700, Ryan S wrote: Hey all, I have two columns in my DB title varchar(254) and jtext text which I would like to search, as the user might enter two or more words I am opting not to use LIKE %search_term% so started searching google, I came across this

[PHP] Re: class and inheritance

2008-10-21 Thread Alain Roger
basically i did this but Zend studio for eclipse does not show me the data or methods members after one - :-( On Tue, Oct 21, 2008 at 9:11 PM, Maciek Sokolewicz [EMAIL PROTECTED]wrote: Alain Roger wrote: Hi, I'm trying to create a class that has as public members some other class object.