php-general Digest 2 Aug 2012 10:16:30 -0000 Issue 7906

2012-08-02 Thread php-general-digest-help
php-general Digest 2 Aug 2012 10:16:30 - Issue 7906 Topics (messages 318608 through 318613): About Preg Match patterns 318608 by: Tolga 318609 by: Paul Halliday 318610 by: Thiago Augusto 318611 by: Daniel Brown 318612 by: tamouse mailing lists

[PHP] Awkward time processing

2012-08-02 Thread Paul Halliday
This is hideous, can anyone think of a more novel approach? What I have is an array of values and timestamps: 17 15:31 16 15:32 27 15:33 14 15:34 11 15:35 now for a day I should have 1440 entries but there could be spotty results, no data from say 11:59 - 13:00. What I need is to sum the values

Re: [PHP] Awkward time processing

2012-08-02 Thread Ashley Sheridan
Paul Halliday paul.halli...@gmail.com wrote: This is hideous, can anyone think of a more novel approach? What I have is an array of values and timestamps: 17 15:31 16 15:32 27 15:33 14 15:34 11 15:35 now for a day I should have 1440 entries but there could be spotty results, no data from say

Re: [PHP] Awkward time processing

2012-08-02 Thread Paul Halliday
On Thu, Aug 2, 2012 at 12:27 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Paul Halliday paul.halli...@gmail.com wrote: This is hideous, can anyone think of a more novel approach? What I have is an array of values and timestamps: 17 15:31 16 15:32 27 15:33 14 15:34 11 15:35 now for a

Re: [PHP] Awkward time processing

2012-08-02 Thread Robert Williams
On 8/2/12 05:51, Paul Halliday paul.halli...@gmail.com wrote: What I have is an array of values and timestamps: 17 15:31 16 15:32 27 15:33 14 15:34 11 15:35 now for a day I should have 1440 entries but there could be spotty results, no data from say 11:59 - 13:00. What I need is to sum the

Re: [PHP] Awkward time processing

2012-08-02 Thread Paul Halliday
:) Perfect! Thank you. On Thu, Aug 2, 2012 at 1:25 PM, Robert Williams rewilli...@thesba.com wrote: On 8/2/12 05:51, Paul Halliday paul.halli...@gmail.com wrote: What I have is an array of values and timestamps: 17 15:31 16 15:32 27 15:33 14 15:34 11 15:35 now for a day I should have 1440

[PHP] php safe mode no more?

2012-08-02 Thread D. Dante Lorenso
The school I work with wants to set up PHP and MySQL hosting for about 10,000 students. I see that in 5.4, PHP safe-mode is being removed. How is it supposed to be done if not safe-mode? Are all the hosting providers using suExec and running PHP as CGI or FastCGI? If I'm trying to do this

[PHP] PHP 5.4.6RC1 Released for Testing!

2012-08-02 Thread Stas Malyshev
Hi! I've released PHP 5.4.6RC1 which can be found here: http://downloads.php.net/stas/ Windows binaries as always are at: http://windows.php.net/qa/ This is a regular bugfix release, the full list of issues fixed can be found in the NEWS files. Please test and report if anything is