| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/gambio_updater/includes/ |
Upload File : |
<?php
/* --------------------------------------------------------------
file_list_creator.php 2015-04-23 gm jow
Gambio GmbH
http://www.gambio.de
Copyright (c) 2015 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
define('FILELIST_NAME','gambio_filelist_to_delete.txt');
define('FILELIST_LINE_ENDING', "\r\n");
/* ******************** START ********************************** */
define('SEND_NO_HEADER', true);
//include_once 'application.inc.php';
error_reporting(E_STRICT);
ini_set('html_errors', 'on');
if(array_key_exists('file_list', $_POST) && $_POST['file_list'] !== '')
{
$fileListJsonString = urldecode($_POST['file_list']);
}
else
{
die('request_error');
}
/* Build File-Content */
$filesArray = json_decode($fileListJsonString);
$content = '';
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . FILELIST_NAME . '"');
header('Content-Transfer-Encoding: binary');
// Send Headers: Prevent Caching of File
header('Cache-Control: no-store');
echo implode(FILELIST_LINE_ENDING, $filesArray);