$value){ if( !is_string($value) || $key == "target" ){ continue; } if($first === true){ $first = false; $params = "?"; }else{ $params .= "&"; } $params .= urlencode($key) . "=" . urlencode($value); } if( !isset($_GET["target"]) || !is_string($_GET["target"]) ){ $target = ""; }else{ $target = "/" . urlencode($_GET["target"]); } $instances = ""; foreach(config::INSTANCES as $instance){ $instances .= '