<commit_before><?php
/*
 * jQuery File Upload Plugin PHP Example
 * https://github.com/blueimp/jQuery-File-Upload
 *
 * Copyright 2010, <NAME>
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */

require_once '../../../../videos/configuration.php';
require_once '../../../../objects/Encoder.php';
require_once '../../../../objects/Login.php';

$_FILES['upl'] = array();
$_FILES['upl']['error'] = 0;

$_FILES['upl']['name'] = $_POST['file'];
$_FILES['upl']['tmp_name'] = $global['systemRootPath']."videos/chunk/".$_FILES['upl']['name'];

$forceRename = true;

require_once '../../../upload.php';
<commit_msg>Version 2.6 adding chunked and resumable file uploads<commit_after><?php

/*
 * jQuery File Upload Plugin PHP Example
 * https://github.com/blueimp/jQuery-File-Upload
 *
 * Copyright 2010, <NAME>
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */

require_once '../../../../videos/configuration.php';
require_once '../../../../objects/Encoder.php';
require_once '../../../../objects/Login.php';

$_FILES['upl'] = array();
$_FILES['upl']['error'] = 0;

$_FILES['upl']['name'] = $_POST['file'];
$_FILES['upl']['tmp_name'] = $global['systemRootPath'] . "videos/chunk/" . Login::getStreamerId() . "/" . $_FILES['upl']['name'];

$forceRename = true;

require_once '../../../upload.php';

{'fraction_non_alphanumeric': 0.25538020086083213, 'fraction_numerical': 0.00860832137733142, 'mean_word_length': 3.696969696969697, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1215546', 'n_tokens_mistral': 474, 'n_tokens_neox': 456, 'n_words': 82}