MyBB Hacks

Full Version: Url / Remote file upload mybb plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi i need URL Upload Plugins for myBB to to upload directly on host within few seconds even if file size is more than 100 mb.
i need url upload box in new thread/new reply page to leech files directly.
Here i have some php codes for URL Upload hope that can help U

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\">";

}

?>

Is any update on this is exist such a plugin will be nice to have one for my site
Reference URL's