- file_get_contents: documentation ( source)
- simplexml_load_string: documentation ( source)
<?php
$xml01 = "https://xml2.travelsim.com/tsim_xml/service/xmlgate?uname=zkiA1hJLAn&upass=GRL44i9vlh&plain=1&command=gbalance&onum=37254806764";
$sxe01 = simplexml_load_string(file_get_contents("$xml01"));
$your_balance = $sxe01->{'balance'};
?>