Jun 15, 2006 #1 dzon IS-IT--Management Joined May 26, 2005 Messages 103 Location GB The following text is serialized, then base64encoded. How do I unserialize it using PHP? Tzo4OiJzdGRDbGFzcyI6Mjp7czo5OiJncm91cG1vZGUiO3M6MToiMCI7czoxMzoiYWxsb3dzdHVkZW50cyI7aToxO30= An example would be much appreciated. cheers, Dzon
The following text is serialized, then base64encoded. How do I unserialize it using PHP? Tzo4OiJzdGRDbGFzcyI6Mjp7czo5OiJncm91cG1vZGUiO3M6MToiMCI7czoxMzoiYWxsb3dzdHVkZW50cyI7aToxO30= An example would be much appreciated. cheers, Dzon
Jun 15, 2006 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US I'd first run the string through base64_decode. From there, it all depends on how the string was originally serialized, because there's more than one way to do it. If the string was serialized using PHP's serialize() function, then PHP's unserialize() function. Want the best answers? Ask the best questions! TANSTAAFL! Upvote 0 Downvote
I'd first run the string through base64_decode. From there, it all depends on how the string was originally serialized, because there's more than one way to do it. If the string was serialized using PHP's serialize() function, then PHP's unserialize() function. Want the best answers? Ask the best questions! TANSTAAFL!