Re: php5 rc4-6 PDO vs Sessions
| From: | Wez Furlong | Date: | Thu, 24 Nov 2005 01:04:52 +0000 |
| Subject: | Re: php5 rc4-6 PDO vs Sessions | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3266@lists.php.net to get a copy of this message | ||
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:
> >
> >>I 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.
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>