<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Serialize and Unserialize SimpleXML in php</title>
	<atom:link href="http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/</link>
	<description>Making a better life for web developer since 2006</description>
	<lastBuildDate>Tue, 23 Feb 2010 13:17:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ludovic</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-8280</link>
		<dc:creator>Ludovic</dc:creator>
		<pubDate>Tue, 23 Feb 2010 13:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-8280</guid>
		<description>Serialize a SimpleXML object is inexploitable that&#039;s why you have a return false with your unserialize.

As you can see in our example, you have to save directly the XML in you SQL Database and use simplexml_load_string when you are requesting your database.</description>
		<content:encoded><![CDATA[<p>Serialize a SimpleXML object is inexploitable that&#8217;s why you have a return false with your unserialize.</p>
<p>As you can see in our example, you have to save directly the XML in you SQL Database and use simplexml_load_string when you are requesting your database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mickey</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-8272</link>
		<dc:creator>mickey</dc:creator>
		<pubDate>Thu, 04 Feb 2010 21:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-8272</guid>
		<description>I want to save a serialized SimpleXML Object in a mysql database. (VARCHAR)
When i load the string out of the database I cant unserialize the object. 
return bool (false)

Please help me. :-)</description>
		<content:encoded><![CDATA[<p>I want to save a serialized SimpleXML Object in a mysql database. (VARCHAR)<br />
When i load the string out of the database I cant unserialize the object.<br />
return bool (false)</p>
<p>Please help me. <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Como solucionar o erro: Warning: unserialize() [function.unserialize]: Node no longer exists in &#124; Marco Malaquias - Blog</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-8247</link>
		<dc:creator>Como solucionar o erro: Warning: unserialize() [function.unserialize]: Node no longer exists in &#124; Marco Malaquias - Blog</dc:creator>
		<pubDate>Tue, 08 Dec 2009 12:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-8247</guid>
		<description>[...] Para maiores detalhes da função, basta acessar o link do autor da função. [...]</description>
		<content:encoded><![CDATA[<p>[...] Para maiores detalhes da função, basta acessar o link do autor da função. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-8245</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 25 Nov 2009 02:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-8245</guid>
		<description>[...] Serialize and Unserialize SimpleXML in php [...]</description>
		<content:encoded><![CDATA[<p>[...] Serialize and Unserialize SimpleXML in php [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aargh</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-8244</link>
		<dc:creator>Aargh</dc:creator>
		<pubDate>Sat, 21 Nov 2009 20:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-8244</guid>
		<description>Wait...but encoding and decoding simplexml with json_encode and json_decode can make you lose some of your attributes!!!  See 
http://bonsai.php.net/bug.php?id=46309&amp;edit=1

I don&#039;t get this, how this is not supposed to be a bug, according to the bug report reply.  How can you easily parse and serialize XML in PHP, I first thought simplexml was easy for parsing XML, and json_encode and json_decode for serializing simplexml objects, but then I found out a bunch of my attributes were missing form the process!!

What&#039;s an alternative way of doing this?</description>
		<content:encoded><![CDATA[<p>Wait&#8230;but encoding and decoding simplexml with json_encode and json_decode can make you lose some of your attributes!!!  See<br />
<a href="http://bonsai.php.net/bug.php?id=46309&#038;edit=1" rel="nofollow">http://bonsai.php.net/bug.php?id=46309&#038;edit=1</a></p>
<p>I don&#8217;t get this, how this is not supposed to be a bug, according to the bug report reply.  How can you easily parse and serialize XML in PHP, I first thought simplexml was easy for parsing XML, and json_encode and json_decode for serializing simplexml objects, but then I found out a bunch of my attributes were missing form the process!!</p>
<p>What&#8217;s an alternative way of doing this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flipflops.org - Web Development and bit of Art &#187; Blog Archive &#187; Messing about with Tarzan and the Amazon AAWS web service</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-8084</link>
		<dc:creator>Flipflops.org - Web Development and bit of Art &#187; Blog Archive &#187; Messing about with Tarzan and the Amazon AAWS web service</dc:creator>
		<pubDate>Wed, 09 Sep 2009 23:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-8084</guid>
		<description>[...] (This is also worth a read: Serialize and Unserialize SimpleXML in php) [...]</description>
		<content:encoded><![CDATA[<p>[...] (This is also worth a read: Serialize and Unserialize SimpleXML in php) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-6411</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Tue, 26 May 2009 16:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-6411</guid>
		<description>Thanks a lot ;)!</description>
		<content:encoded><![CDATA[<p>Thanks a lot <img src='http://blog.makemepulse.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bork</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-6399</link>
		<dc:creator>Bork</dc:creator>
		<pubDate>Thu, 26 Mar 2009 19:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-6399</guid>
		<description>@Glen Z. Nice one!</description>
		<content:encoded><![CDATA[<p>@Glen Z. Nice one!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Z.</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-1193</link>
		<dc:creator>Glen Z.</dc:creator>
		<pubDate>Sun, 27 Jan 2008 03:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-1193</guid>
		<description>This method kind of defeats the purpose (almost) of serialize and unserialize just because it basically writes the whole xml file out. A better solution would be to utilize json encoding and decoding in php. For example:

$xml = json_encode(simplexml_load_file($url));

this can encode a fairly large XML file say 30k and encode it into only 5k. So pulling the xml in json format and using json_decode() to re-translate it executes quickly.</description>
		<content:encoded><![CDATA[<p>This method kind of defeats the purpose (almost) of serialize and unserialize just because it basically writes the whole xml file out. A better solution would be to utilize json encoding and decoding in php. For example:</p>
<p>$xml = json_encode(simplexml_load_file($url));</p>
<p>this can encode a fairly large XML file say 30k and encode it into only 5k. So pulling the xml in json format and using json_decode() to re-translate it executes quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-103</link>
		<dc:creator>All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</dc:creator>
		<pubDate>Mon, 01 Oct 2007 12:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-103</guid>
		<description>[...] Make me pulse &#187; Blog Archive &#187; Serialize and Unserialize SimpleXML in php [...]</description>
		<content:encoded><![CDATA[<p>[...] Make me pulse &raquo; Blog Archive &raquo; Serialize and Unserialize SimpleXML in php [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-102</link>
		<dc:creator>All Night Coder - Today&#8217;s Top Blog Posts on Programming - Powered by SocialRank</dc:creator>
		<pubDate>Mon, 01 Oct 2007 12:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-102</guid>
		<description>[...] Serialize and Unserialize SimpleXML in php [...]</description>
		<content:encoded><![CDATA[<p>[...] Serialize and Unserialize SimpleXML in php [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developercast.com &#187; Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-98</link>
		<dc:creator>developercast.com &#187; Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php</dc:creator>
		<pubDate>Fri, 28 Sep 2007 15:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-98</guid>
		<description>[...] the &#8220;Make Me Pulse&#8221; blog (of Nicolas Rajabaly &amp; Antoine Ughetto) there&#8217;s a quick example of how to use serialized values with SimpleXML:   Serialize is useful for storing or passing PHP [...]</description>
		<content:encoded><![CDATA[<p>[...] the &#8220;Make Me Pulse&#8221; blog (of Nicolas Rajabaly &amp; Antoine Ughetto) there&#8217;s a quick example of how to use serialized values with SimpleXML:   Serialize is useful for storing or passing PHP [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPDeveloper.org</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-97</link>
		<dc:creator>PHPDeveloper.org</dc:creator>
		<pubDate>Fri, 28 Sep 2007 13:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-97</guid>
		<description>&lt;strong&gt;Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php...&lt;/strong&gt;

...&lt;a href=&quot;http://www.phpdeveloper.org/news/8747&quot; rel=&quot;nofollow&quot;&gt;http://www.phpdeveloper.org/news/8747&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><strong>Make Me Pulse Blog: Serialize and Unserialize SimpleXML in php&#8230;</strong></p>
<p>&#8230;<a href="http://www.phpdeveloper.org/news/8747" rel="nofollow">http://www.phpdeveloper.org/news/8747</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine Ughetto</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-95</link>
		<dc:creator>Antoine Ughetto</dc:creator>
		<pubDate>Fri, 28 Sep 2007 08:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-95</guid>
		<description>henrick &gt; Yes of course. That returns to same. In fact I found this solution to answer a problem which I had in a cache system with data serialized. I thus needed a “common” method for all. But indeed, it writes an XML…

Trophaeum &gt; Thanks for the tips</description>
		<content:encoded><![CDATA[<p>henrick > Yes of course. That returns to same. In fact I found this solution to answer a problem which I had in a cache system with data serialized. I thus needed a “common” method for all. But indeed, it writes an XML…</p>
<p>Trophaeum > Thanks for the tips</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trophaeum</title>
		<link>http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/comment-page-1/#comment-94</link>
		<dc:creator>Trophaeum</dc:creator>
		<pubDate>Fri, 28 Sep 2007 03:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.makemepulse.com/2007/09/27/serialize-and-unserialize-simplexml-in-php/#comment-94</guid>
		<description>Better way is to implement your own sleep and wake magic methods and then serialize() and unserialize() work as intended, Propel is having the same issue with php&#039;s DateTime object, we are having to hack a PropelDateTime object that extends DateTime to add the sleep and wake magic methods... lame that internal php objects can&#039;t be serialized!</description>
		<content:encoded><![CDATA[<p>Better way is to implement your own sleep and wake magic methods and then serialize() and unserialize() work as intended, Propel is having the same issue with php&#8217;s DateTime object, we are having to hack a PropelDateTime object that extends DateTime to add the sleep and wake magic methods&#8230; lame that internal php objects can&#8217;t be serialized!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
