Skip navigation.

exploreopera

| Help

Sign up | Help

Bosanski lonac

ili nema šta nema

Upload from URL - Copy From URL - Transload - Script

, , , , , , ,

Well, beacuse my upload speed is to slow i tried to find solution how to copy files from some url to my server, or another words from one server on internet to space on my server. I found this php script which works fine and i am going to copy some favorite mp3's to my reseller host :smile:

This is the code. Feel free to use it (i cant credit it because i dont know who is owner and also think that someone who know php can easy write this):

note: this would be probably big security risk on your server.
in the first text box paste complete url of wished file and in second only name of file with extension. your file will be saved in script folder under chosen name...

Imageshack call this transload.

<?php
if ($_GET[xfer]) {
if ($_POST[from] == "") {
print "You forgot to enter a url.";
} else {
copy("$_POST[from]", "$_POST[to]");
$size = round((filesize($_POST[to])/1000000), 3);
print "transfer complete.<br>
<a><a href=\"$_POST[from]\">$_POST[from]</a><br>
<a><a href=\"$_POST[to]\">$_POST[to]</a> : $size MB";
}
} else {
print "<form action=\"$PHP_SELF?xfer=true\" method=post>
from(http://): <input name=from><br>
to(filename): <input name=to><br>
<input type=submit value=\"transload\">";
}
?>

Long time no see :)Literally translations of Serbian phrases bwahaha

Comments

avatar
Mohager writes:

thats great man

thnx alot

By anonymous user, # 8. December 2007, 22:30:54

avatar
Maysam writes:

very good! thankx

By anonymous user, # 28. December 2007, 15:12:30

avatar
thanks for thanks :smile:

By Hellas, # 28. December 2007, 17:40:05

avatar
Anonymous writes:

Thanx man! :smile:

By anonymous user, # 1. August 2008, 10:49:39

avatar
Anonymous writes:

yy

By anonymous user, # 1. August 2008, 10:50:05

avatar
saya writes:

thanks a lot.... :D

By anonymous user, # 8. September 2008, 17:16:19

avatar
Thanx.... Thank you.... Thank you........

:smile:

By UpToDate, # 11. September 2008, 07:37:36

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : d14e69

Smilies

October 2008
MTWTFSS
September 2008November 2008
12345
6789101112
13141516171819
20212223242526
2728293031