Url / Remote file upload mybb plugin
MySQL Offline
Junior Member
**
Posts: 1
Joined: May 2013
Post: #1
Url / Remote file upload mybb plugin
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:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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\">";

}

?>

(This post was last modified: 05-11-2013 12:12 AM by MySQL.)
05-11-2013 12:06 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Url / Remote file upload mybb plugin - MySQL - 05-11-2013 12:06 AM

 Standard Tools
Forum Jump: