[PHP] PHP 5.4.13 and PHP 5.3.23 released!

2013-03-18 Thread Stas Malyshev
The PHP development team announces the immediate availability of PHP 5.4.13 and PHP 5.3.23. These releases fix about 15 bugs, including fixes for CVE-2013-1643 and CVE-2013-1635. All users of PHP are encouraged to upgrade to PHP 5.4.13. PHP 5.3.23 is recommended for those wishing to remain on the 5

[PHP] significance of escape character in string in PHP

2013-03-18 Thread Norah Jones
I am having an string which was have few ' (single quote) and few " (double quotes) and was not able to insert into the mysql database. I have replaced them with \' and \" and everything is fine. Though this are fine now but don't understand the working and I could have missed few corner cases a

Re: [PHP] significance of escape character in string in PHP

2013-03-18 Thread Ken Robinson
On 18.03.2013 09:10, Norah Jones wrote: I am having an string which was have few ' (single quote) and few " (double quotes) and was not able to insert into the mysql database. I have replaced them with \' and \" and everything is fine. Though this are fine now but don't understand the working a

Re: [PHP] significance of escape character in string in PHP

2013-03-18 Thread Sebastian Krebs
2013/3/18 Ken Robinson > > > On 18.03.2013 09:10, Norah Jones wrote: > >> I am having an string which was have few ' (single quote) and few " >> (double quotes) and was not able to insert into the mysql database. I >> have replaced them with \' and \" and everything is fine. >> Though this are fi

Re: [PHP] variable type - conversion/checking

2013-03-18 Thread Samuel Lopes Grigolato
Sorry if I'm missing something, there's a lot of replies after my first post on this thread. Is there something wrong with the "floor()" approach? I liked the regex solution but isn't it more expensive and more verbose than just doing a well commented "is_numeric" plus "floor/ceil" math? Just try

Re: [PHP] significance of escape character in string in PHP

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 2:19 PM, Sebastian Krebs wrote: > 2013/3/18 Ken Robinson > > > > > > > On 18.03.2013 09:10, Norah Jones wrote: > > > >> I am having an string which was have few ' (single quote) and few " > >> (double quotes) and was not able to insert into the mysql database. I > >> have

Re: [PHP] significance of escape character in string in PHP

2013-03-18 Thread Stuart Dallas
On 18 Mar 2013, at 15:08, Matijn Woudt wrote: > On Mon, Mar 18, 2013 at 2:19 PM, Sebastian Krebs wrote: > >> 2013/3/18 Ken Robinson >> >>> >>> >>> On 18.03.2013 09:10, Norah Jones wrote: >>> I am having an string which was have few ' (single quote) and few " (double quotes) and wa

RE: [PHP] significance of escape character in string in PHP - MySQL

2013-03-18 Thread Arno Kuhl
There's no need for it to be a flame war. The mysql extension is officially not recommended for writing new code, so anyone using it should be informed of this fact. I think it should consist of more than "don't use that," but at the very least that should cause the questioner to want to know why.

Re: [PHP] Re: [PHP-DEV] feature request : easy shared memory

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 3:46 AM, Larry Garfield wrote: > On 03/14/2013 01:21 PM, Bob Weinand wrote: > >> Sharing active memory between processes goes against the "shared nothing" >>> design of PHP. The lack of the feature you're describing is itself a >>> feature. :-) >>> >>> If you had real shar

Re: [PHP] significance of escape character in string in PHP

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 4:20 PM, Stuart Dallas wrote: > On 18 Mar 2013, at 15:08, Matijn Woudt wrote: > > > On Mon, Mar 18, 2013 at 2:19 PM, Sebastian Krebs >wrote: > > > >> 2013/3/18 Ken Robinson > >> > >>> > >>> > >>> On 18.03.2013 09:10, Norah Jones wrote: > >>> > I am having an string

[PHP] Surge 2013 CFP open

2013-03-18 Thread Katherine Jeschke
The Surge 2013 CFP is open. For details or to submit a paper, please visit http://surge.omniti.com/2013 -- Katherine Jeschke Director of Marketing and Creative Services OmniTI Computer Consulting, Inc. 11830 West Market Place, Suite F Fulton, MD 20759 O: 240-646-0770, 222 F: 301-497-2001 C: 443/6

[PHP] Session variable not persisting

2013-03-18 Thread Éric Oliver Paquette
Hi all, I'll be swift in my explanation as I can't find in any way the source of the problem; it seems to be installation-related. At execution, sometimes (randomly it seems at first), variable session aren't properly stored. = First things first, about installation :

Re: [PHP] Session variable not persisting

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 7:46 PM, Éric Oliver Paquette wrote: > Hi all, > > I'll be swift in my explanation as I can't find in any way the source of > the problem; it seems to be installation-related. > > At execution, sometimes (randomly it seems at first), variable session > aren't properly store

Re: [PHP] Session variable not persisting

2013-03-18 Thread Éric Oliver Paquette
> > On Mon, Mar 18, 2013 at 7:46 PM, Éric Oliver Paquette > wrote: > Hi all, > > I'll be swift in my explanation as I can't find in any way the source of the > problem; it seems to be installation-related. > > At execution, sometimes (randomly it seems at first), variable session aren't > p

Re: [PHP] Session variable not persisting

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 8:13 PM, Éric Oliver Paquette wrote: > > > On Mon, Mar 18, 2013 at 7:46 PM, Éric Oliver Paquette < > eopaque...@gmail.com> wrote: > > Hi all, > > > I'll be swift in my explanation as I can't find in any way the source of > the problem; it seems to be installation-related. >

Re: [PHP] Session variable not persisting

2013-03-18 Thread Éric Oliver Paquette
Le 2013-03-18 à 15:20, Matijn Woudt a écrit : > > > > On Mon, Mar 18, 2013 at 8:13 PM, Éric Oliver Paquette > wrote: > >> >> On Mon, Mar 18, 2013 at 7:46 PM, Éric Oliver Paquette >> wrote: >> Hi all, >> >> I'll be swift in my explanation as I can't find in any way the source of the >>

Re: [PHP] Session variable not persisting

2013-03-18 Thread Éric Oliver Paquette
Le 2013-03-18 à 15:24, Éric Oliver Paquette a écrit : > > Le 2013-03-18 à 15:20, Matijn Woudt a écrit : > >> >> >> >> On Mon, Mar 18, 2013 at 8:13 PM, Éric Oliver Paquette >> wrote: >> >>> >>> On Mon, Mar 18, 2013 at 7:46 PM, Éric Oliver Paquette >>> wrote: >>> Hi all, >>> >>> I'll be

Re: [PHP] Session variable not persisting

2013-03-18 Thread Matijn Woudt
On Mon, Mar 18, 2013 at 8:35 PM, Éric Oliver Paquette wrote: > > Le 2013-03-18 à 15:24, Éric Oliver Paquette a écrit : > > > Le 2013-03-18 à 15:20, Matijn Woudt a écrit : > > > > > On Mon, Mar 18, 2013 at 8:13 PM, Éric Oliver Paquette < > eopaque...@gmail.com> wrote: > >> >> >> On Mon, Mar 18, 201

Re: [PHP] Session variable not persisting

2013-03-18 Thread Éric Oliver Paquette
Le 2013-03-18 à 15:37, Matijn Woudt a écrit : > > > > On Mon, Mar 18, 2013 at 8:35 PM, Éric Oliver Paquette > wrote: > > Le 2013-03-18 à 15:24, Éric Oliver Paquette a écrit : > >> >> Le 2013-03-18 à 15:20, Matijn Woudt a écrit : >> >>> >>> >>> >>> On Mon, Mar 18, 2013 at 8:13 PM, Éric

Re: [PHP] Session variable not persisting

2013-03-18 Thread Éric Oliver Paquette
Le 2013-03-18 à 15:41, Éric Oliver Paquette a écrit : > > Le 2013-03-18 à 15:37, Matijn Woudt a écrit : > >> >> >> >> On Mon, Mar 18, 2013 at 8:35 PM, Éric Oliver Paquette >> wrote: >> >> Le 2013-03-18 à 15:24, Éric Oliver Paquette a écrit : >> >>> >>> Le 2013-03-18 à 15:20, Matijn Woud

Re: [PHP] Session variable not persisting

2013-03-18 Thread Ashley Sheridan
"Éric Oliver Paquette" wrote: > >Le 2013-03-18 à 15:41, Éric Oliver Paquette a écrit : > >> >> Le 2013-03-18 à 15:37, Matijn Woudt a écrit : >> >>> >>> >>> >>> On Mon, Mar 18, 2013 at 8:35 PM, Éric Oliver Paquette > wrote: >>> >>> Le 2013-03-18 à 15:24, Éric Oliver Paquette a écrit : >>>

Re: [PHP] Session variable not persisting

2013-03-18 Thread Marco Behnke
Am 18.03.13 19:46, schrieb Éric Oliver Paquette: > Hi all, > > I'll be swift in my explanation as I can't find in any way the source of the > problem; it seems to be installation-related. > > At execution, sometimes (randomly it seems at first), variable session aren't > properly stored. > > =