//If the value d doesn't exist, redirect back to front page *1
if(isset($_GET['d'])) {
//Include the core file with the functions
//If the value d doesn't exist, redirect back to front page *1
if(isset($_GET['d'])) {
//Include the core file with the functions
switch ($_GET['d']) {
//Uploading with HTML response and errors
case 'upload':
//If no file is being posted, show the error page and exit.
if(empty($_FILES['file']['name'])){
switch ($_GET['d']) {
//Uploading with HTML response and errors
case 'upload':
//If no file is being posted, show the error page and exit.
if(empty($_FILES['file']['name'])){