<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Chevereto Forums - List files in folder]]></title>
	<link rel="self" href="http://chevereto.com/forums/feed-atom-topic336.xml"/>
	<updated>2009-09-23T10:56:28Z</updated>
	<generator>PunBB</generator>
	<id>http://chevereto.com/forums/topic336-list-files-in-folder.html</id>
		<entry>
			<title type="html"><![CDATA[List files in folder]]></title>
			<link rel="alternate" href="http://chevereto.com/forums/post1755.html#p1755"/>
			<content type="html"><![CDATA[<p>Put this wherever you want : </p><p>i&#039;ve used this div to put it near the JPG GIF and MAXsize labels<br />This will list all the files in a specific folder</p><p>Eventually you can make it enumerate only jpg , ecc...</p><div class="codebox"><pre><code>&lt;div id=&quot;limite&quot;&gt;Images Hosted : 

&lt;?
$d = opendir(&quot;images&quot;);
$count = 0;
while(($f = readdir($d)) !== false)
  
     ++$count;
closedir($d);
print &quot;$count&quot;;
?&gt; 
&lt;/div&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[batori]]></name>
				<uri>http://chevereto.com/forums/user547.html</uri>
			</author>
			<updated>2009-09-23T10:56:28Z</updated>
			<id>http://chevereto.com/forums/post1755.html#p1755</id>
		</entry>
</feed>

