Php 2shared Download Script

Php 2shared Download Script
I need someone to write a script in php that will convert a download link from 2shared.com
(of the format:

http://www.2shared.com/file/10563662/ecb1f30e/5x07_-_Let_he_who_is_without_s.html)

into a format that can be streamed using some kind of embedded flv player

(eg: http://dc157.2shared.com/download/10563669/7b632a86/5x07_-_Let_he_who_is_without_s.flv?tsid=20100329-081907-1d7dcad1)

I have been using a script which does this but it has stopped working in IE. The main goal of this project is to get the script to work in ie/chrome/firefox/safari etc.

Also the script must simply output the link from an array based on a variable that is set from an episode selection page (n=1 or n=51 etc)

I attach a version of this script that works in Firefox and Safari but not IE or Chrome – this may make things easier for you.

Leave a Reply

Your email address will not be published. Required fields are marked *