200000000000000000000000) { // $errors = "4"; //} if(empty($errors)){ move_uploaded_file($file_tmp, dirname(__FILE__)."/../template/" . $file_name); } else { header($_SERVER["SERVER_PROTOCOL"]." 406 Not Acceptable"); die("Upload failed!"); } header($_SERVER["SERVER_PROTOCOL"]." 201 Created"); print("Upload was successful!"); } ?>