Hi
I can't get this feed to parse. Just get a blank page returned.
<?php
require("MagicParser.php");
function myRecordHandler($record)
{
// This is where you write your code to process each record, such as loading a database
// Here we just display the record contents using PHP's internal print_r() function
print_r($record);
}
MagicParser_parse("http://investor.itg.com/phoenix.rss?c=100516&p=rssall","myRecordHandler","xml|RSS/CHANNEL/ITEM/");
?>
Hi,
Yes - if a request for a URL works on one server but not on another then it is almost certainly ULR wrappers not being enabled. Check the following page for more information:
http://uk2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
Cheers,
David.
I did get it to work on my yahoo hosted site. Is this a problem with URL wrappers not being enabled on the other server?