Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$ids добавляется в свойства инфоблока.
if(isset($_FILES)) {
$ids = array();
foreach($_FILES as $key=>$file) {
$file_params = array(
"type" => "",
"old_file" => "",
"del" => "",
"MODULE_ID" => "iblock");
$id = CFile::SaveFile($file_params, "iblock");
$ids[] = $id;
echo "<pre>"; print_r($ids); echo "<pre>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.