force download of different files
<p>I am trying to force a php download. from here:
<a href="http://www.iwantanimage.com/animals/animals01.html" rel="nofollow">http://www.iwantanimage.com/animals/animals01.html</a>. Click on the sterling image &amp; the next page offers the options of three formats.</p>

<p>this is my php code</p>

<pre><code>&lt;?php
header('Content-disposition: attachment; filename=sterling02md.jpg');
header('Content-type: image.jpg');
readfile('sterling02md.jpg');

header('Content-disposition: attachment; filename=sterling02lg.jpg');
header('Content-type: image.jpg');
readfile('sterling02lg.jpg');

header('Content-disposition: attachment; filename=sterling.jpg');
header('Content-type: image.jpg');
readfile('sterling02.jpg');
?&gt; 
</code></pre>

<p>The only image that downloads however is the sterling02md.jpg. How do I fix the code so the user can download the file of choice?
thank you</p>
