Skip to content
WJunction - Webmaster Forum

Tip: Remote get on a shared server.

Status
Not open for further replies.
Create a new folder set perms to 777

Create new file:
Code:
<?php
define('BUFSIZ', 4095);
$url = 'url of teh file';
$rfile = fopen($url, 'r');
$lfile = fopen(basename($url), 'w');
while(!feof($rfile))
fwrite($lfile, fread($rfile, BUFSIZ), BUFSIZ);
fclose($rfile);
fclose($lfile);
?>

Save it as index.php

Now visit your folder via cpanel /2/ for example.

Now wait a while and check your folder and there you have your files.
 

5 comments

Status
Not open for further replies.

About the author

L
Banned · Joined
848
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom