<?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: unserialize Yahoo! search results</title>
	<atom:link href="http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Mon, 23 Nov 2009 00:15:13 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mindy Moore</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-66952</link>
		<dc:creator>Mindy Moore</dc:creator>
		<pubDate>Wed, 11 Oct 2006 22:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-66952</guid>
		<description>How do you think. If I quit using internet... No, CAN I quit?</description>
		<content:encoded><![CDATA[<p>How do you think. If I quit using internet&#8230; No, CAN I quit?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Junior Lee</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-60435</link>
		<dc:creator>Junior Lee</dc:creator>
		<pubDate>Tue, 26 Sep 2006 15:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-60435</guid>
		<description>Thank you very very very much. Wish you luck and mercy from all the creatures around the world.</description>
		<content:encoded><![CDATA[<p>Thank you very very very much. Wish you luck and mercy from all the creatures around the world.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kugel Margo</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-57572</link>
		<dc:creator>Kugel Margo</dc:creator>
		<pubDate>Thu, 21 Sep 2006 03:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-57572</guid>
		<description>Very many thanks for a good work. Nice and useful. Like it!</description>
		<content:encoded><![CDATA[<p>Very many thanks for a good work. Nice and useful. Like it!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kleon Indig</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-48769</link>
		<dc:creator>Kleon Indig</dc:creator>
		<pubDate>Tue, 29 Aug 2006 00:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-48769</guid>
		<description>I would like to wish you much luck. And a lot of money. Thank you.</description>
		<content:encoded><![CDATA[<p>I would like to wish you much luck. And a lot of money. Thank you.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Griph Knight</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-48568</link>
		<dc:creator>Griph Knight</dc:creator>
		<pubDate>Mon, 28 Aug 2006 05:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-48568</guid>
		<description>Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.</description>
		<content:encoded><![CDATA[<p>Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Triphon Klevon</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-40686</link>
		<dc:creator>Triphon Klevon</dc:creator>
		<pubDate>Wed, 26 Jul 2006 19:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-40686</guid>
		<description>Very many thanks for a good work. Nice and useful. Like it!</description>
		<content:encoded><![CDATA[<p>Very many thanks for a good work. Nice and useful. Like it!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-14554</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 27 Feb 2006 10:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-14554</guid>
		<description>Has anyone already pointed out to those Yahoo guys, that &quot;text/php&quot; is a seldom dopey mime type for this type of more or less program-dependent and almost binary data?</description>
		<content:encoded><![CDATA[<p>Has anyone already pointed out to those Yahoo guys, that &#8220;text/php&#8221; is a seldom dopey mime type for this type of more or less program-dependent and almost binary data?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MrGierer&#8217;s World &#187; Blog Archive &#187; Yahoo! PHP Developer Center</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-14432</link>
		<dc:creator>MrGierer&#8217;s World &#187; Blog Archive &#187; Yahoo! PHP Developer Center</dc:creator>
		<pubDate>Fri, 24 Feb 2006 08:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-14432</guid>
		<description>[...] One interesting article is the use of Yahoo web service which return serialized PHP structures instead of XML. This make the handling of the returned data easy as calling the unserialize function. But before jumping up and down, make sure you read the possible down-sides of this. [...]</description>
		<content:encoded><![CDATA[<p>[...] One interesting article is the use of Yahoo web service which return serialized PHP structures instead of XML. This make the handling of the returned data easy as calling the unserialize function. But before jumping up and down, make sure you read the possible down-sides of this. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rhyll &#62; PHP Blog &#62; Yahoo! - PHP Developer Center</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-14385</link>
		<dc:creator>Rhyll &#62; PHP Blog &#62; Yahoo! - PHP Developer Center</dc:creator>
		<pubDate>Thu, 23 Feb 2006 20:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-14385</guid>
		<description>[...] UPDATE Thu 23 Feb 2006 @ 12:25pm: Harry Fuecks has some additional details about detailing with serialized PHP over at SitePoint. [...]</description>
		<content:encoded><![CDATA[<p>[...] UPDATE Thu 23 Feb 2006 @ 12:25pm: Harry Fuecks has some additional details about detailing with serialized PHP over at SitePoint. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2006/02/23/unserialize-yahoo-search-results/comment-page-1/#comment-14381</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Thu, 23 Feb 2006 18:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1434#comment-14381</guid>
		<description>&lt;blockquote&gt;
Although I agree there may be some security risks, object constructors are not called on unserialize. The primary reason being that constructors can have arguments, which the serializer would not know what to do with.
&lt;/blockquote&gt;

You&#039;re right - trying again don&#039;t know where I got that one from - one of those old assuptions I haven&#039;t thougt about for a long time.

It&#039;s the __wakeup function (if it exists) that get&#039;s called when unserializing. Will do an update to the entry soon. In PHP5 you also have the destructor though, when the object goes out of scope or the script ends/

This is low risk but all the same, I personally don&#039;t like the idea of unexpected code being executed and it costs almost nothing to protect yourself.

Good point on JSON also. At the same time, there&#039;s only so much damage you can cause with a browser and eval() - main danger is probably session hijacking and similar. On a server there&#039;s much more dangerous functionality around.</description>
		<content:encoded><![CDATA[<blockquote><p>
Although I agree there may be some security risks, object constructors are not called on unserialize. The primary reason being that constructors can have arguments, which the serializer would not know what to do with.
</p></blockquote>
<p>You&#8217;re right &#8211; trying again don&#8217;t know where I got that one from &#8211; one of those old assuptions I haven&#8217;t thougt about for a long time.</p>
<p>It&#8217;s the __wakeup function (if it exists) that get&#8217;s called when unserializing. Will do an update to the entry soon. In PHP5 you also have the destructor though, when the object goes out of scope or the script ends/</p>
<p>This is low risk but all the same, I personally don&#8217;t like the idea of unexpected code being executed and it costs almost nothing to protect yourself.</p>
<p>Good point on JSON also. At the same time, there&#8217;s only so much damage you can cause with a browser and eval() &#8211; main danger is probably session hijacking and similar. On a server there&#8217;s much more dangerous functionality around.</p>]]></content:encoded>
	</item>
</channel>
</rss>
