<?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: How to Open Zip Files with PHP</title>
	<atom:link href="http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/</link>
	<description>Web Development &#38; Design Tutorials</description>
	<lastBuildDate>Sat, 21 Nov 2009 22:51:56 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Moreen</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-123760</link>
		<dc:creator>David Moreen</dc:creator>
		<pubDate>Sun, 25 Oct 2009 21:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-123760</guid>
		<description>This is a nice tutorial, but I can&#039;t test it to see if it works because my webhost does not support the ZipArchive() thingie...</description>
		<content:encoded><![CDATA[<p>This is a nice tutorial, but I can&#8217;t test it to see if it works because my webhost does not support the ZipArchive() thingie&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: folojona</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-115635</link>
		<dc:creator>folojona</dc:creator>
		<pubDate>Tue, 06 Oct 2009 06:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-115635</guid>
		<description>Thanks. This was very helpful since I didn&#039;t know this class.</description>
		<content:encoded><![CDATA[<p>Thanks. This was very helpful since I didn&#8217;t know this class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-77996</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 08 Jul 2009 17:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-77996</guid>
		<description>I am having trouble uploading really big zip files. My browser looses connectivity after 2/3 minutes or so..any ideas how to fix it??</description>
		<content:encoded><![CDATA[<p>I am having trouble uploading really big zip files. My browser looses connectivity after 2/3 minutes or so..any ideas how to fix it??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishna Bhattarai</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-76285</link>
		<dc:creator>Krishna Bhattarai</dc:creator>
		<pubDate>Thu, 02 Jul 2009 07:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-76285</guid>
		<description>Many Many Thank you dear. It works fine. Good job.
Keep it up.</description>
		<content:encoded><![CDATA[<p>Many Many Thank you dear. It works fine. Good job.<br />
Keep it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paadt</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-64934</link>
		<dc:creator>Paadt</dc:creator>
		<pubDate>Sat, 16 May 2009 08:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-64934</guid>
		<description>Please don&#039;t use global, just pass the $target to the function...</description>
		<content:encoded><![CDATA[<p>Please don&#8217;t use global, just pass the $target to the function&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noner</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-64859</link>
		<dc:creator>noner</dc:creator>
		<pubDate>Sat, 16 May 2009 01:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-64859</guid>
		<description>Hmmm. Interesting tutorial. I was just doing similar thing But for easier manipulation of file paths I&#039;ve made this approach:

---
$fileinfo = pathinfo($_FILES[&#039;fupload&#039;][&#039;tmp_name&#039;]);
$fileinfo[&#039;basename&#039;] = basename($fileinfo[&#039;basename&#039;],&#039;.&#039;.$fileinfo[&#039;extension&#039;])
$zip = new ZipArchive();
$result = $zip-&gt;open($fileinfo[&#039;dirname&#039;].$fileinfo[&#039;basename&#039;].&#039;.&#039;.$fileinfo[&#039;extension&#039;],ZIPARCHIVE::CREATE);
if ($result == ZIPARCHIVE::ER_NOZIP) {
die(&#039;not Zip&#039;);
}
---

I&#039;m sorry if I made typos.</description>
		<content:encoded><![CDATA[<p>Hmmm. Interesting tutorial. I was just doing similar thing But for easier manipulation of file paths I&#8217;ve made this approach:</p>
<p>&#8212;<br />
$fileinfo = pathinfo($_FILES['fupload']['tmp_name']);<br />
$fileinfo['basename'] = basename($fileinfo['basename'],&#8217;.&#8217;.$fileinfo['extension'])<br />
$zip = new ZipArchive();<br />
$result = $zip-&gt;open($fileinfo['dirname'].$fileinfo['basename'].&#8217;.&#8217;.$fileinfo['extension'],ZIPARCHIVE::CREATE);<br />
if ($result == ZIPARCHIVE::ER_NOZIP) {<br />
die(&#8217;not Zip&#8217;);<br />
}<br />
&#8212;</p>
<p>I&#8217;m sorry if I made typos.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shivanand Sharma</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-62525</link>
		<dc:creator>Shivanand Sharma</dc:creator>
		<pubDate>Fri, 08 May 2009 14:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-62525</guid>
		<description>So God does exist. I have been stuck trying to do something like this in Drupal on which my site is based. Thanks sooo much for this. And by the way... nicely done!</description>
		<content:encoded><![CDATA[<p>So God does exist. I have been stuck trying to do something like this in Drupal on which my site is based. Thanks sooo much for this. And by the way&#8230; nicely done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean steezy</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-45429</link>
		<dc:creator>sean steezy</dc:creator>
		<pubDate>Tue, 17 Mar 2009 20:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-45429</guid>
		<description>this stuff is way beyond my head, but I need to create a file uploader in PHP that is super secure... any ideas where something like that may reside? Thanks!</description>
		<content:encoded><![CDATA[<p>this stuff is way beyond my head, but I need to create a file uploader in PHP that is super secure&#8230; any ideas where something like that may reside? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean steezy</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-45428</link>
		<dc:creator>sean steezy</dc:creator>
		<pubDate>Tue, 17 Mar 2009 20:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-45428</guid>
		<description>wow. good catch :)</description>
		<content:encoded><![CDATA[<p>wow. good catch <img src='http://net.tutsplus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyrel Kelsey</title>
		<link>http://net.tutsplus.com/videos/screencasts/how-to-open-zip-files-with-php/#comment-38787</link>
		<dc:creator>Tyrel Kelsey</dc:creator>
		<pubDate>Sat, 28 Feb 2009 03:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=2289#comment-38787</guid>
		<description>@Jeffrey Way
this would avoid that issue all together since if the variable has already been set once it wont be changed
if(!isset($okay)){
    $okay = strtolower($name[1]) == &#039;zip&#039; ? true: false;
}</description>
		<content:encoded><![CDATA[<p>@Jeffrey Way<br />
this would avoid that issue all together since if the variable has already been set once it wont be changed<br />
if(!isset($okay)){<br />
    $okay = strtolower($name[1]) == &#8216;zip&#8217; ? true: false;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 2/7 queries in 0.009 seconds using memcached
Content Delivery Network via 

Served from: psdtutsplus.com @ 2009-11-21 15:32:03 -->