you need to check PHP: Streams.

here is how it works
1. user give link
2. make script to grab download link
3. stream that content to user.

on 2. you can save data into a file, like on that site its saving a link as (http://shimory.com/static/1234567), 1234567 is either in database or file saved on server, So when user visit that link it will call that ID, Which has file link saved, cookie information etc.

there are a lot of examples on PHP site to work with streams and one open source script for link generation i think named "Vinaleech"? I am not sure but try to search here and look at its code.
mRAza Reviewed by mRAza on . how to curl and proxy download hey, i would like to know how this ( shimory DOT com ) works TECHNICALLY. i suppose first layer is cURL in order to grab the cookie and the downloading link (like http//srv43.fil3s0n1c.com/ef4888/dfeee/file.zip). but HOW is it possible to make the visitor download the file INSTANTLY (shimory does not even grabs the file through like wget() but deservs it immediatly to the visitor, kind of proxy, with a link like http://serv02.sh1m0ry.com/yourfiledearvisitor.zip). i would like to know how to Rating: 5