Re: php5 rc4-6 PDO vs Sessions
| From: | Richard Thomas | Date: | Thu, 24 Nov 2005 14:34:26 +0000 |
| Subject: | Re: php5 rc4-6 PDO vs Sessions | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3268@lists.php.net to get a copy of this message | ||
Its impossible to create in a few lines so I wanted some opinion here before I tried to submit a bug report.
I will get it as small as I can.
Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice
Wez Furlong wrote:
Can you create a reproducing script for this? And then open a bug report? --Wez. On 11/23/05, Richard Thomas <lists@cyberlot.net> wrote:Whats included in the PHP 5.1 RC6 package, althought I was using RC4 when I first ran into this problem and upgraded hoping it would fix it. Curt Zirzow wrote:On Tue, Nov 22, 2005 at 04:16:51PM -0600, Richard Thomas wrote:-- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpI am trying to translate Mysql based session method over to PDO and am getting some really weird results. I put a mail function to email me the serialized string and am getting savethis|i:99;twonow|a:4:{s:5:"comp1";s:5:"comp2";s:5:"comp2";s:5:"comp3";s:5:"comp3";s:5:"comp4";s:5:"comp4";s:5:"comp6";} But in the database I get savethis|i?;twonow|a?:{s?:"comp1";s?:"comp2";s?:"comp2";s?:"comp3";s?:"comp3";s?:"comp4";s?:"comp4";s?:"comp6";}This looks like pdo_mysql is thinking that :99, :4, :5, should be paramaters for a bind statement. What version of PDO are you using? Curt.