Re: [PHP] Help! Having trouble getting one XML field from this feed reliably

2012-02-09 Thread Yared Hufkens
I wonder why you use cURL as SimpleXML itself can load URLs: $vastdata = new SimpleXMLElement('http://afe.specificclick.net/?l=32259t=xrnd=123456',0,true); See http://de.php.net/manual/en/simplexmlelement.construct.php Am 09.02.2012 04:44, schrieb Rob Gould: Can anyone tell me what I'm doing

Re: [PHP] Help! Having trouble getting one XML field from this feed reliably

2012-02-09 Thread Adam Richardson
On Thu, Feb 9, 2012 at 9:10 AM, Yared Hufkens y4...@yahoo.de wrote: I wonder why you use cURL as SimpleXML itself can load URLs: $vastdata = new SimpleXMLElement('http://afe.specificclick.net/?l=32259t=xrnd=123456 ',0,true); See http://de.php.net/manual/en/simplexmlelement.construct.php

[PHP] Help! Having trouble getting one XML field from this feed reliably

2012-02-08 Thread Rob Gould
Can anyone tell me what I'm doing wrong here? I'm trying to get the VASTAdTagURI field from the XML data at this url: http://afe.specificclick.net/?l=32259t=xrnd=123456 Here's my code. (below). It works maybe 30% of the time, but most of the time it just returns nothing from that field.

Re: [PHP] Help! Having trouble getting one XML field from this feed reliably

2012-02-08 Thread Adam Richardson
On Wed, Feb 8, 2012 at 10:44 PM, Rob Gould gould...@mac.com wrote: Can anyone tell me what I'm doing wrong here? I'm trying to get the VASTAdTagURI field from the XML data at this url: http://afe.specificclick.net/?l=32259t=xrnd=123456 Here's my code. (below). It works maybe 30% of