List all files from X date
<p>I am trying to make a script that will list all files in a directory created (or modified) on the date given in a $_GET request.</p>

<p>I have a script that lists all files and the dates but how.would I be able to 'order' them into a way where I can use my $_GET request. Knowing me it is something really simple, here is what I have already:</p>

<pre><code>&lt;?php putenv("TZ=Europe/London");
if ($handle = opendir('./Images/')) {
    while (false !== ($entry = readdir($handle))) {
        if ($entry != "." &amp;&amp; $entry != "..") {
           echo "$entry : " . date ("d/m/y", filemtime($entry))."&lt;br /&gt;";
        }
    }
closedir($handle);
}
</code></pre>
