Hello, there is a multiplayer game that i Play called Zwinky and i as i said it's similar to Habbo hotel, Club pengiun.
Now, obviously it has a stores to buy items and stuff and it's expensive.

i know how to make it free, but there is one and only problem.

i'm not that experienced with php, there is an XML files that should be edited:

1. 9.xml which is the main store file that has all the items in it and that's where the Prices should be changed.

2. Purchase.xml which is everything in your wardrobe that you Bought and every new item you purchase goes immediately there.

3. I've downloaded their items which is (SWF Files) so it's like i have their stores locally in my host.

Now what i'm planning to do is editing the 9.xml and setting all the items to free, then uploading the 9.xml file to my own website but there is only one thing left that some peoples told me it can be done with php.

I need a php script or something that for example if i click "Add" a specific item to my Purchase.xml it automatically makes the changes in the game's real website and not locally.

i'm not really experienced with php but i had a developer who made my loginform connect with their database so that peoples can't login randomly to my site. it has to be their real game accounts.

this is What he used:
$h = array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded'
);

$fields_string = "";

foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
rtrim($fields_string, '&');

$a = cURL("http://registration....jax.jhtml",true, null, $fields_string, $h);
$line = getLastLines($a, 1);
if(strstr($a, "user_info"))
{
return true;
}
else
{
return false;
}

Now i want to use the same method like connecting my website with the games wardrobes so that i can make any changes to my in-game wardrobe through my website, there was a guy who made a site where you login and purchase everything in the game for free through his site, that's why I believe it's possible.

1. The game's store link is: http://www.zwinky.com/zwinky-world/c...othing/923.xml

2. i'm gonna edit the 923.xml so i can change the prices and make them 0 so from My website it's gonna be Mysite.com/zwinky-world/catalog/clothing/923.xml

3. http://www.zwinky.com/zwinky-world/Checkout.jhtml < this is the link you get Once you purchase an item.

4. and it goes to http://outfits.zwinky.com/users/126/.../purchased.xml < after the Checkout..purchased.xml shows Everything you have purchased in your wardrobe.

Any suggestions? Some peoples said form action and some other people said Q parameter, sending a request by AJAX script or something..