## General help

There are only these 'upload.php' files in a 1.9.19+:

uploaduser.php file has the following required:

require('../config.php');
require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->libdir.'/csvlib.class.php');
require_once(\$CFG->dirroot.'/user/profile/lib.php');