Thanks for everyone who replied my question. I could not access to the messages from this list Until today.
I will look up the solutions you guys suggested. Ted zeng -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Arnold Sent: Tuesday, October 03, 2006 8:07 AM To: python-list@python.org Subject: Re: php and python: how to unpickle using PHP? <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ted Zeng: >> I store some test results into a database after I use python >> To pickle them (say, misfiles=['file1','file2']) >> Now I want to display the result on a web page which uses PHP. >> How could the web page unpickle the results and display them? >> Is there a PHP routine that can do unpickle ? > > Instead of pickling, maybe you can save the data from python in json > format: > http://www.json.org/ > Then you can read it from PHP. wddx format is a workable solution as well http://pyxml.sourceforge.net/ plus http://us2.php.net/wddx -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list