Hi EnIgMa1234,
Im trying to gather information from an xml file. I created a custom hook called $template_hook[custom_1]. I placed that in a custom page called test.php which has the hook inside the php as well (So, that's all set up right, I think?). And for the url, I'm not sure, I only tried what I posted above
Below would be an example of what is inside the PHP Code:
PHP Code:
// set name of XML file
$file = "http://example.com/example.ashx?GamerTag=$bbuserinfo[field#]";
// load file
$xml = simplexml_load_file($file) or die ("Unable to load XML file!");
// access XML data
echo "Example 2: " . $xml->PresenceInfo->Example2 . "<br />";
echo "Example:" . $xml->PresenceInfo->Example . "<br />";