<?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: Scanning Folders with PHP</title>
	<atom:link href="http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-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: Brent</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-125397</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Fri, 30 Oct 2009 08:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-125397</guid>
		<description>This would be the perfect script if you didn&#039;t still have to create thumbnails for it. It&#039;s fine if you have a couple of images, but a large gallery would be a pain.</description>
		<content:encoded><![CDATA[<p>This would be the perfect script if you didn&#8217;t still have to create thumbnails for it. It&#8217;s fine if you have a couple of images, but a large gallery would be a pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JQutub</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-85285</link>
		<dc:creator>JQutub</dc:creator>
		<pubDate>Wed, 29 Jul 2009 22:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-85285</guid>
		<description>Try this, worked for me:

&lt;?php
	
	$dir = &#039;files/&#039;;
	$scan = scandir($dir);	
	
	for ($i = 0; $i&lt;count($scan); $i++) {
		
	if ($scan[$i] != &#039;.&#039; &amp;&amp; $scan[$i] != &#039;..&#039;) {
		echo &#039;
				
				&lt;a&gt;&#039; . $scan[$i]. &#039;
				&lt;/a&gt;
				&#039;;
	}
	}; 
	?&gt;</description>
		<content:encoded><![CDATA[<p>Try this, worked for me:</p>
<p>&lt;?php</p>
<p>	$dir = &#8216;files/&#8217;;<br />
	$scan = scandir($dir);	</p>
<p>	for ($i = 0; $i&lt;count($scan); $i++) {</p>
<p>	if ($scan[$i] != &#8216;.&#8217; &amp;&amp; $scan[$i] != &#8216;..&#8217;) {<br />
		echo &#8216;</p>
<p>				<a>&#8216; . $scan[$i]. &#8216;<br />
				</a><br />
				&#8216;;<br />
	}<br />
	};<br />
	?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knowledge Base</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-76412</link>
		<dc:creator>Knowledge Base</dc:creator>
		<pubDate>Thu, 02 Jul 2009 14:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-76412</guid>
		<description>[...] a photo site: - http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/ - http://net.tutsplus.com/videos/screencasts/how-to-dynamically-create-thumbnails/ - [...]</description>
		<content:encoded><![CDATA[<p>[...] a photo site: &#8211; <a href="http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/" rel="nofollow">http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/</a> &#8211; <a href="http://net.tutsplus.com/videos/screencasts/how-to-dynamically-create-thumbnails/" rel="nofollow">http://net.tutsplus.com/videos/screencasts/how-to-dynamically-create-thumbnails/</a> &#8211; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crawford13</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-37324</link>
		<dc:creator>crawford13</dc:creator>
		<pubDate>Fri, 20 Feb 2009 05:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-37324</guid>
		<description>i am a beginner with php, actually i really don&#039;t know it at all, but this what i have been looking for.  but is there a way to have the thumbnails open up with lightbox rather than display the larger image above the thumbnails the way they do in the demo?</description>
		<content:encoded><![CDATA[<p>i am a beginner with php, actually i really don&#8217;t know it at all, but this what i have been looking for.  but is there a way to have the thumbnails open up with lightbox rather than display the larger image above the thumbnails the way they do in the demo?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-30543</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Tue, 20 Jan 2009 20:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-30543</guid>
		<description>It&#039;s a great tutorial but is it possible to do this with .flv&#039;s, or any other type of video file? I want it to create a text-link (instead of the thumbnail) that opens the .flv where the full-size pic is. i have tried my best but im not that good at php and scripts yet.</description>
		<content:encoded><![CDATA[<p>It&#8217;s a great tutorial but is it possible to do this with .flv&#8217;s, or any other type of video file? I want it to create a text-link (instead of the thumbnail) that opens the .flv where the full-size pic is. i have tried my best but im not that good at php and scripts yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Happy New Year! @ novus.volce</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-27025</link>
		<dc:creator>Happy New Year! @ novus.volce</dc:creator>
		<pubDate>Mon, 05 Jan 2009 05:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-27025</guid>
		<description>[...] Scanning folder with PHP [...]</description>
		<content:encoded><![CDATA[<p>[...] Scanning folder with PHP [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GALLERIE PHP QUI SCANNE UN DOSSIER &#124; La Geek Note</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-26943</link>
		<dc:creator>GALLERIE PHP QUI SCANNE UN DOSSIER &#124; La Geek Note</dc:creator>
		<pubDate>Sun, 04 Jan 2009 15:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-26943</guid>
		<description>[...] si vous utilisez ce script, merci de faire un ptit retour, ca peut servir. Un grand merci aussi à Nettuts, très bon site de tutos, dont lequel je me suis librement inspiré (voire totalement) mais [...]</description>
		<content:encoded><![CDATA[<p>[...] si vous utilisez ce script, merci de faire un ptit retour, ca peut servir. Un grand merci aussi à Nettuts, très bon site de tutos, dont lequel je me suis librement inspiré (voire totalement) mais [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 7 Ways to Enhance Your Theme Using PHP &#124; zbStudio.net</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-26247</link>
		<dc:creator>7 Ways to Enhance Your Theme Using PHP &#124; zbStudio.net</dc:creator>
		<pubDate>Thu, 01 Jan 2009 00:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-26247</guid>
		<description>[...] A great idea for photography and portfolio type themes is to have php scan the images folder for the client. For example, lets say you are building a photography theme. We could use php to scan a folder named &#8216;images&#8217;, extract the images, and echo them out in an unordered list. We could take it a step further by scanning two directories, one for thumbnails and one for full size images. How can we do this? Luckily, Jeff came to our rescue again and has an excellent post on scanning folders with php. [...]</description>
		<content:encoded><![CDATA[<p>[...] A great idea for photography and portfolio type themes is to have php scan the images folder for the client. For example, lets say you are building a photography theme. We could use php to scan a folder named &#8216;images&#8217;, extract the images, and echo them out in an unordered list. We could take it a step further by scanning two directories, one for thumbnails and one for full size images. How can we do this? Luckily, Jeff came to our rescue again and has an excellent post on scanning folders with php. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Edick</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-26016</link>
		<dc:creator>Ryan Edick</dc:creator>
		<pubDate>Tue, 30 Dec 2008 21:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-26016</guid>
		<description>This is a great tutorial and exactly what I need for a project of mine!

I am wondering though, in the if statement you said you could exclude certain file types, is there is a way to exclude an entire file?

I have a file within the directory I am scanning and it is being added to the array. If anyone can help me to add the exception to the if statement that would help me a ton! 

thanks!</description>
		<content:encoded><![CDATA[<p>This is a great tutorial and exactly what I need for a project of mine!</p>
<p>I am wondering though, in the if statement you said you could exclude certain file types, is there is a way to exclude an entire file?</p>
<p>I have a file within the directory I am scanning and it is being added to the array. If anyone can help me to add the exception to the if statement that would help me a ton! </p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terminal</title>
		<link>http://net.tutsplus.com/videos/screencasts/scanning-folders-with-php/#comment-23733</link>
		<dc:creator>Terminal</dc:creator>
		<pubDate>Thu, 18 Dec 2008 00:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://nettuts.com/?p=1707#comment-23733</guid>
		<description>i need a preview comment button!  anyways, this was the import part of the 2nd function:

$thumbsrc = ‘data:image/jpeg;base64,’.base64_encode(exif_thumbnail($files[$i][&#039;filelink&#039;]));

although when rendered, the source is HUGE</description>
		<content:encoded><![CDATA[<p>i need a preview comment button!  anyways, this was the import part of the 2nd function:</p>
<p>$thumbsrc = ‘data:image/jpeg;base64,’.base64_encode(exif_thumbnail($files[$i]['filelink']));</p>
<p>although when rendered, the source is HUGE</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 16:33:10 -->