Need explaination of a php code snippet
<p>I have code that transloads files to your server. I tried reading this code but was unable to understand. Can any PHP Guru spend some time to understand this code and comment it. Please I need to understand this code to modify this.</p>

<p>Modification required is: </p>

<p>at the moment it transloads files from direct links that ends up with file extension. like. </p>

<p>www.mysite.com?file.zip</p>

<p>but it wont work for download links like</p>

<p>www.mysite.com?download.php?fileid=3</p>

<p>I want it to work for all direct links.</p>

<p>Code is downloadable from box.net from following url as well,</p>

<p><a href="http://www.box.net/shared/no21luo2m2" rel="nofollow">http://www.box.net/shared/no21luo2m2</a>   This url is itself eample of url for which I want this script to work.</p>

<p>regards,
aqif</p>
