Reply to Re: unserialize problem

Your name:

Reply:


Posted by Dasmeet Singh on 09/28/04 11:13

Dasmeet Singh wrote:

> Hi!
> I am trying to unserialize a serialized array stored in cookie...
>
> I am using following code :
>
> echo("Welcome to Members Area<br>");
> echo("<br>$login<br>");
> $m_l_d=unserialize($login);
> echo $m_l_d;
> echo("$m_l_d[0], $m_l_d[1], $m_l_d[2]");
>
> However the output is:
>
> Welcome to Members Area
>
> a:4:{i:0;s:1:\"h\";i:1;s:1:\"2\";i:2;s:1:\"1\";i:3;s:1:\"g\";}
> , ,
>
> that means $login exists and it echos properly..
> but why isnt it unserializing?
>
>
>
>
>
> http://hostwindow.info
I have also tried stripslashes..still not working :(




http://hostwindow.info

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация