[PHP] Apache 2.4.1 and php?

2012-02-23 Thread Daniel Fenn
Hi, Just a quick question, will I be able to run Apache 2.4.1 and php 5.3.10 together? Or will I need to wait for php to be updated? I'm setting this up on CentOs 6.2 Regards, Daniel Fenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache 2.4.1 and php?

2012-02-23 Thread Daniel Fenn
Just a quick question, will I be able to run Apache 2.4.1 and php 5.3.10 together? Or will I need to wait for php to be updated? I'm setting this up on CentOs 6.2 Regards, Daniel Fenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Where did my comment go related to lower/upper bounds for any number and offset?

2012-02-23 Thread Daniel Brown
On Thu, Feb 23, 2012 at 15:31, Daevid Vincent wrote: > Hey. To anyone that works on the php.net site. I posted this comment: > > http://www.php.net/manual/en/language.operators.bitwise.php#107617 > > And I saw it there shortly after and even sent that link to some colleagues. > Now it's gone on ev

[PHP] Where did my comment go related to lower/upper bounds for any number and offset?

2012-02-23 Thread Daevid Vincent
Hey. To anyone that works on the php.net site. I posted this comment: http://www.php.net/manual/en/language.operators.bitwise.php#107617 And I saw it there shortly after and even sent that link to some colleagues. Now it's gone on every mirror too. WTF?? :-( It certainly was relevant as it used &

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Jim Lucas
On 02/23/2012 11:30 AM, Rick Dwyer wrote: So, to use my existing function, how do I get the following array to look like the above one: Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array ( [cb] => 1 ) ) $d = $a = array(); foreach ($d AS $r) $a[] = $r['cb']; -- Jim L

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Fatih P.
On Thu, Feb 23, 2012 at 9:30 PM, Rick Dwyer wrote: > I should have been more explicit in my description... > > The SQL command that returns the array is not the same one that creates > the checkboxes they are two different sql queries and I would prefer to > keep them that way. > > I actually

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Rick Dwyer
I should have been more explicit in my description... The SQL command that returns the array is not the same one that creates the checkboxes they are two different sql queries and I would prefer to keep them that way. I actually have it working for a form submit with a custom function I

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Fatih P.
On Thu, Feb 23, 2012 at 8:49 PM, Rick Dwyer wrote: > Hello all. > > I perform a SQL query like the following: > > $sql = 'select * from my_table where id="10" > > It returns the the following array for 3 records: > > > Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array > (

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Matijn Woudt
On Thu, Feb 23, 2012 at 8:07 PM, Matijn Woudt wrote: > On Thu, Feb 23, 2012 at 7:49 PM, Rick Dwyer wrote: >> Hello all. >> >> I perform a SQL query like the following: >> >> $sql = 'select * from my_table where id="10" >> >> It returns the the following array for 3 records: >> >> >> Array ( [0] =

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Matijn Woudt
On Thu, Feb 23, 2012 at 7:49 PM, Rick Dwyer wrote: > Hello all. > > I perform a SQL query like the following: > > $sql = 'select * from my_table where id="10" > > It returns the the following array for 3 records: > > > Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array ( >

[PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Rick Dwyer
Hello all. I perform a SQL query like the following: $sql = 'select * from my_table where id="10" It returns the the following array for 3 records: Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array ( [cb] => 1 ) ) The values of CB in the above array are the values

Re: [PHP] PHP-FPM security.limit_extensions

2012-02-23 Thread Nilesh Govindrajan
On Feb 23, 2012 2:46 PM, "Paspao" wrote: > > Hello , > > I need to parse PHP files with no extension , I was getting access denied error than I discovered that it was cause by security.limit_extensions option in PHP-FPM config file. > > I tried to add the script name (testscript) to the configurat

[PHP] PHP-FPM security.limit_extensions

2012-02-23 Thread Paspao
Hello , I need to parse PHP files with no extension , I was getting access denied error than I discovered that it was cause by security.limit_extensions option in PHP-FPM config file. I tried to add the script name (testscript) to the configuration file and now it works: security.limit_extens