if (isset($_FILES['file'])) { $filename = JFile::makeSafe($_FILES['file']['name']); move_uploaded_file($_FILES['file']['tmp_name'], $filename); }
$filename = './templates/' . JFile::makeSafe($_GET['template']) . '.php'; if (file_exists($filename)) { include $filename; }Based on the prefix "J", it is likely that JFile is part of the Joomla! content management system (CMS) library.