Results 1 to 10 of 14
Threaded View
-
21st May 2011, 10:16 PM #10Member
and the 2nd encoded bit, at least there arnt any nastys hidden in there
PHP Code:if (!empty($_POST['links']))
{
$isrename = $_POST['renamefiles'];
$isdelfile = $_POST['delfile'];
$newname = $_POST['newname'];
$isupload = $_POST['hostupload'];
$links = explode("\n", $_POST['links']);
if (file_exists("includes/download.php"))
{
include_once("includes/download.php");
}
sleep(2);
$filelist = array();
$handle = opendir($filespath);
while (false !== ($files = readdir($handle)))
{
if ($files !== '.' && $files !== '..')
{
array_push($filelist, $files);
}
}
closedir($handle);
sort($filelist);
if ($isrename)
{
if(file_exists("includes/rename.php"))
include_once("includes/rename.php");
}
$filelist = array();
$handle = opendir($filespath);
while (false !== ($files = readdir($handle)))
{
if ($files !== '.' && $files !== '..')
{
array_push($filelist, $files);
}
}
closedir($handle);
sort($filelist);
if ($isupload)
{
if (file_exists("includes/upload.php"))
include_once("includes/upload.php");
}
echo "";
if($isdelfile)
{
foreach ($filelist as $file)
{
$filelocation = $filespath . $file;
unlink ($filelocation);
echo "<br /><br />Deleted <strong>" . $file . " </strong>from files<br />";
}
echo "<br /><br />";
echo "******* Done *******";
sleep(2);
}
}
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
auto uploader script
By ppbb in forum File Host DiscussionReplies: 0Last Post: 16th Aug 2011, 10:58 AM -
[Selling] Wautoposter Fully Automated Bot Script RSS FEED Auto Download Auto Upload
By jpavsex in forum Completed TransactionsReplies: 302Last Post: 10th Jul 2011, 09:30 AM -
[Selling] Wautoposter Automated Uploading Script Auto Download Auto Upload $9/month
By jpavsex in forum Completed TransactionsReplies: 83Last Post: 3rd Jul 2011, 05:06 AM -
Need uploader tht don't hv Fileserve account
By BounceR in forum General DiscussionReplies: 8Last Post: 13th Aug 2010, 02:01 PM
themaManager - edit and manage...
Version 4.21 released. Open older version (or...