Reply to Re: [PHP] Trying to figure out contents stored in db field

Your name:

Reply:


Posted by Scott Noyes on 08/14/05 19:20

Unserialize it, and then use var_dump() to see what the object contains:
var_dump(unserialize($location_data));

On 8/14/05, Gregory Machin <gregory.machin@gmail.com> wrote:
> Hi
> The cms exponent story some data in a serialized array ..
> then column name id location_data and contains the following..
>
> O:8:"stdClass":3:{s:3:"mod";s:10:"textmodule";s:3:"src";s:20:"@random419404caefcef";s:3:"int";s:0:"";}
>
> i fugure there is an object stored in this serialized array. how do i
> figure out the properties of the object, I cant find the file that
> holds classe that it uese ..
>
> Any ideas ?
>
> Many Thanks
>
>
> --
> Gregory Machin
> greg@linuxpro.co.za
> gregory.machin@gmail.com
> www.linuxpro.co.za
> Web Hosting Solutions
> Scalable Linux Solutions
> www.iberry.info (support and admin)
> www.goeducation (support and admin)
> +27 72 524 8096
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[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

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