PHP online remote download

time:12-02-21 forum:PHP tools and code
  The code reprinted from http://www.ali727.com/833.html

is very brief, but it is definitely welfare for children's shoes using virtual machines. It allows the virtual host to directly and remotely WGet files to your space, like VPS, without having to go through your local computer, and speed is definitely a lever.

release complete code immediately (already my test, available):

[code].lt; form method=.quot; post.quot;.Gt;
.lt; input. Wd= 'ali727'; / / / / here for your password
if ($_REQUEST.#91;'pwd'.#93; =$pwd)
exit (` Sorry, you are '). D files to. must end with slash
$destination_folder = '. Ile (! Feof ($file))
{
fwrite ($newf, FREAD ($file, 1024 * 8), 1024 * 8);
>
{> {] Save this code as down.php upload to your server, then access this address down.php? Pwd= your password.
2, then enter the address of the file you want to download in the input box is OK.

prev:Javascript displays refreshing content a... next:DIV CSS picture slice
post comment
Notice



approved   Sichuan leg free man wrote thousands...   The domain name stolen and retrieved...   "Silly" old lady Ding Ruiyun: promis...   She is a former world champion, maki...   He was a high student at Yale, but h...
rand   Four ways of transferring parameters...   The difference of PHP array traversa...   PHP gets the intersection and differ...   PHP determines to compare the data i...   PHP array usage
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com