RE: [PHP] regexp questions

2010-05-14 Thread Spud. Ivan.
Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO `table` (`value`) VALUES ('a:3:{s:12:F1;s:6:nombre;s:11:F2;s:5:F3;s:16:F4;s:10:F5;}'); it result in INSERT IGNORE INTO `table` (`value`) VALUES

[PHP] mysql_real_escape_string() and

2010-05-14 Thread Spud. Ivan.
Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO `table` (`value`) VALUES ('a:3:{s:12:F1;s:6:nombre;s:11:F2;s:5:F3;s:16:F4;s:10:F5;}'); it result in INSERT IGNORE INTO `table` (`value`) VALUES

RE: [PHP] regexp questions

2010-05-14 Thread Spud. Ivan.
From: spudm...@hotmail.com To: php-general@lists.php.net Date: Fri, 14 May 2010 22:01:09 +0200 Subject: RE: [PHP] regexp questions Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
Subject: RE: [PHP] regexp questions Date: Wed, 12 May 2010 11:11:07 +0100 From: m.f...@leedsmet.ac.uk To: spudm...@hotmail.com; php-general@lists.php.net -Original Message- From: Spud. Ivan. [mailto:spudm...@hotmail.com] Sent: 11 May 2010 15:56 To: php-general

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
Date: Tue, 11 May 2010 15:38:41 -0700 From: li...@cmsws.com To: spudm...@hotmail.com CC: php-general@lists.php.net Subject: Re: [PHP] regexp questions Spud. Ivan. wrote: I think we've not so much only with the regex, but maybe you can tell me somethin helpful ;) /Word1

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
Subject: RE: [PHP] regexp questions From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Wed, 12 May 2010 17:11:11 +0100 On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote: Date: Tue, 11 May 2010 15:38:41 -0700 From: li...@cmsws.com

RE: [PHP] regexp questions

2010-05-11 Thread Spud. Ivan.
The flags parameter was added But it doesn't explain why my regexps work fine within php 5.1 but 5.3 Ivan. -Original Message- From: Spud. Ivan. [mailto:spudm...@hotmail.com] Sent: 11 May 2010 01:25 To: php-general@lists.php.net Subject: RE: [PHP] regexp

RE: [PHP] regexp questions

2010-05-11 Thread Spud. Ivan.
09:56 AM, Spud. Ivan. wrote: But it doesn't explain why my regexps work fine within php 5.1 but 5.3 Ivan. Post a regex and what you think it should match but doesn't. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] regexp questions

2010-05-11 Thread Spud. Ivan.
From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Tue, 11 May 2010 21:43:54 +0100 Subject: RE: [PHP] regexp questions On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote: I think we've not so much only with the regex, but maybe you

[PHP] regexp questions

2010-05-10 Thread Spud. Ivan.
Hi, I've recently changed from php 5.1 to 5.3.2 and I'm havong problems with preg_match, because the same regular expressions used in php 5.1 are not matching anything in 5.3.2. There are any significant changes that I should know? I've been searching but I haven't found anything. Thanks.

RE: [PHP] regexp questions

2010-05-10 Thread Spud. Ivan.
Is there any place where to read the changelog or something? Thanks. For example, the following regex doesn't work. return (bool) preg_match('/^[\pL\pN\pZ\p{Pc}\p{Pd}\p{Po}]++$/uD', (string) $str); Shiplu Mokadd.im