Project Description:
A friend of mine recently coded an entire script that does something like this:
"Acts as a middleman between a server and a user."
So basically, the user requests a file that is not on the server the script is on. It remotely streams the file to the end user from a 3rd party server.
Script is on Server A. File is on Server B.
User connects to Server A and requests file from Server B. Script fetches and streams file from Server B to user. Script does not store anything on Server A. Directly streams it.
--------------------------------------------------------------------------------------------------------
Problem:
The download.php (which is responsible for streaming, etc) is not optimized.
It will need to be recoded. Will need to ensure it does the following:
- Download Resume support (in download managers (IDM for an example) and firefox/IE, etc too)
- The current download.php does not exit downloading/streaming data even if the user quits the download. Need to change it so that if a user exits/pause/quits the download, download.php also stops streaming.
- Also please use whichever system is more faster/reliable. (cURL, Sockets [fsockopen], fread, etc)
- Also, this is a feature request. Please implement some sort of speed limiting feature. Like, some configurable variable that allows me to limit the speed per member or per category (private/public) in the script.
--------------------------------------------------------------------------------------------------------
Keeping the above in mind (and that this project is only a re-code of one .php file) please make your bids realistic.
You will have to contact me via PM here on GAF to get a copy of the script to test it out and implement the above changes in download.php
Any questions, please do not hesitate to ask.