Jump to content

server2server PHP script, url input?


Kayoszero

Recommended Posts

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 :D

 

SOURCE CODE IN ATTACHMENT!!

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/119054-server2server-php-script-url-input/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.