/** * Request new id * Generate key and redirect to CreateNew Method */ function Create() { require_once "Include/KeyGenerator.php"; $key = KeyGenerator::getkey(); header("Location:/Codebank-App/App/Home/CreateNew/" . $key); }