uawdijnntqw1x1x1
IP : 216.73.216.215
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
..
/
var
/
files
/
need-2-delete
/
.
/
mini-borishof.ru1
/
imagecache.php
/
/
<? include($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); $link = $_REQUEST["img"]; $link = str_replace("%", "%25", $link); // echo $link; /* $link = "https://www.mini.ru/ru_RU/home/explore/concept-cars/mini-john-cooper-works-concept/_jcr_content/main/par/parallax/cntHeroImage/damImage.narrow.j_1463776470515.png";*/ CModule::IncludeModule('iblock'); $arSelect = Array("ID", "NAME", "DATE_ACTIVE_FROM", "IBLOCK_ID", "PROPERTY_SOURCE", "PROPERTY_URL", "PROPERTY_IMAGE"); $arFilter = Array("IBLOCK_ID"=>IntVal(15), "ACTIVE_DATE"=>"Y", "ACTIVE"=>"Y", "PROPERTY_SOURCE"=>$link); $res = CIBlockElement::GetList(Array(), $arFilter, false, Array("nPageSize"=>1), $arSelect); while($ob = $res->GetNextElement()) { $arFields = $ob->GetFields(); } if(!$arFields["PROPERTY_IMAGE_VALUE"]){ $arFile = CFile::MakeFileArray($link); $el = new CIBlockElement; $PROP = array(); $PROP[45] = $APPLICATION->GetCurPage(); // свойству с кодом 12 присваиваем значение "Белый" $PROP[46] = $link; // свойству с кодом 3 присваиваем значение 38 $PROP[47] = $arFile; $arLoadProductArray = Array( "MODIFIED_BY" => $USER->GetID(), // элемент изменен текущим пользователем "IBLOCK_SECTION_ID" => false, // элемент лежит в корне раздела "IBLOCK_ID" => 15, "PROPERTY_VALUES"=> $PROP, "NAME" => "Элемент", "ACTIVE" => "Y", // активен ); $el->Add($arLoadProductArray); }else{ $arFile = CFile::MakeFileArray($arFields["PROPERTY_IMAGE_VALUE"]); $arFile["tmp_name"] = $arFile["tmp_name"]; } // print_r($arFile); header('Content-Type: '.$arFile["type"]); header("Content-Length: " .$arFile["size"] ); echo file_get_contents($arFile["tmp_name"]); // echo file_get_contents($link); ?>
/var/../var/files/need-2-delete/./mini-borishof.ru1/imagecache.php