php-general Digest 23 Feb 2012 09:15:52 -0000 Issue 7699

2012-02-23 Thread php-general-digest-help
php-general Digest 23 Feb 2012 09:15:52 - Issue 7699 Topics (messages 316760 through 316763): Re: SimpleXML and the Single String (SOLVED) 316760 by: Jay Blanchard 316761 by: Marco Behnke 316762 by: Jay Blanchard PHP-FPM security.limit_extensions 316763 by:

php-general Digest 24 Feb 2012 02:02:31 -0000 Issue 7700

2012-02-23 Thread php-general-digest-help
php-general Digest 24 Feb 2012 02:02:31 - Issue 7700 Topics (messages 316764 through 316774): Re: PHP-FPM security.limit_extensions 316764 by: Nilesh Govindrajan Selecting checkboxes based on SQL query 316765 by: Rick Dwyer 316766 by: Matijn Woudt 316767 by:

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

Re: [PHP] PHP-FPM security.limit_extensions

2012-02-23 Thread Nilesh Govindrajan
On Feb 23, 2012 2:46 PM, Paspao pas...@gmail.com 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

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

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 rpdw...@earthlink.net 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 tijn...@gmail.com wrote: On Thu, Feb 23, 2012 at 7:49 PM, Rick Dwyer rpdw...@earthlink.net 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:

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 rpdw...@earthlink.net 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] =

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

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 rpdw...@earthlink.net 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

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 = results from SQL query $a = array(); foreach ($d AS $r) $a[] =

[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] 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 dae...@daevid.com 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

[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

[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