Kayoszero Posted August 10, 2008 Share Posted August 10, 2008 Hi, first post so point me in the right direction if this in the wrong place... I dont really know any PHP (other than little easy bits) but i know a little HTML and JS so forgive me if this is simple I found this script on http://freecodesnippet.com/ its called "AJAX server to server direct file transfer" Ive been using this script a while now and think its FANTASTIC, basicly it downloads a file from a url on to the server the script is running on, and because its AJAX it works with HUGE files. The only problem i am having is downloading lots of files: i dont want to be copying each url individually, and as far as i can see there is no way to do this? Theres two ways i think this could be possible to implement: 1. Add something to the script to allow the script to work by entering the url of the file i want to download to the end, similar to how http://anonym.to/en.html works with http://domain.com?http://url.com/file 2. Or the easier to use but possibly harder to impliment a way to either extract urls from a txt file or have a box to enter in severall url rather than just one thanks to anyone that can help SOURCE CODE IN ATTACHMENT!! [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/119054-server2server-php-script-url-input/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.