Hi, since the folks at DH simply refused to help me with a script that worked perfectly at my previous server, I beg for your help here.
I have a script that calls products from a brazilian ebay-like site, it’s a legal script and aproved from them.
Problem is that freamhost uses this thing called curl
So the part that is problematic on my script is:
$xml_parser = xml_parser_create();
xml_set_element_handler($xml_parser, “startElement”, “endElement”);
fopen(“http://external url etc etc”)
or die(“Error reading data.”);
while ($data = fread($fp, 4096))
xml_parse($xml_parser, $data, feof($fp))
or die(sprintf(“XML error: %s at line %d”,
I know the problem is in the fopen part but where exactly do I replace that with curl code? Do I have to remove anything, too?
Thank you so much.