You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
- include "header.php";
- $player_name=$_POST['player_name'];
- copy("medias/default/player1.xml", "medias/".$hash."/".$player_name.".xml");
-
- $xml = simplexml_load_file('./medias/'.$hash.'/'.$player_name.'.xml');
-
- $xml->entry->nom = $player_name;
-
- $xml->asXml('./medias/'.$hash.'/'.$player_name.'.xml');
-
- header("location: index.php");
- ?>
|