Need explaination of a php code snippet

Posted by aqif hamid on Stack Overflow See other posts from Stack Overflow or by aqif hamid
Published on 2011-01-16T01:49:53Z Indexed on 2011/01/16 1:53 UTC
Read the original article Hit count: 458

Filed under:

Hello, 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.

Modification required is:

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

www.mysite.com?file.zip

but it wont work for download links like

www.mysite.com?download.php?fileid=3

I want it to work for all direct links.

Code is downloadable from box.net from following url as well,

http://www.box.net/shared/no21luo2m2 This url is itself eample of url for which I want this script to work.

regards, aqif

© Stack Overflow or respective owner

Related posts about php