Finding an image in a folder with subfolders which contains a post value
<p>I am using Jquery to post a value to a page which should then search a folder and its sub-folders to see where the file exists.</p>

<p>The start of the filename will always have something like "HAV_" and then the product code...</p>

<pre><code>HAV_345GG.jpg
</code></pre>

<p>I need to take the posted value which is the product code and search all folders to find a match then return the location as a link ie:</p>

<pre><code>http://www.mydomain.co.uk/folder/subfolder/HAV_345GG.jpg
</code></pre>

<p>Any help would be great.</p>
