entry->nom = $player_name; $xml->asXml('./medias/'.$hash.'/'.$player_name.'.xml'); header("location: index.php"); ?>