[TYPO3-dev] t3lib_div::getURL
Dan Osipov
dosipov at phillyburbs.com
Mon May 19 19:49:48 CEST 2008
I do the processing with xml2array, which works great.
I was really hoping for a Typo3 method to handle this. If not, I guess I
could use simpleXML.
Dan Osipov
Calkins Media
http://phillyburbs.com/
Steffen Kamper wrote:
> "Dan Osipov" <dosipov at phillyburbs.com> schrieb im Newsbeitrag
> news:mailman.1.1211218261.21651.typo3-dev at lists.netfielders.de...
>> Hey group,
>>
>> I've tried using the t3lib_div::getURL function to get contents of XML
>> files over HTTP (Yahoo REST web service). I've found that it is very
>> unstable. Sometimes it returns the content, but at times it returns FALSE.
>> Stepping into the function, it shows that it hits a 400 HTTP error on line
>> 2618:
>> $content = @file_get_contents($url, false, $ctx);
>>
>> Anyone experienced this? Any idea how to make it work?
>> FYI, I don't think I can use curl...
>>
>
> i do this with simpleXML, do you tried that?
>
> vg Steffen
>
>
More information about the TYPO3-dev
mailing list