[TYPO3-dev] t3lib_div::getURL

Dan Osipov dosipov at phillyburbs.com
Mon May 19 19:31:00 CEST 2008


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...

Thanks!
Dan
-- 
Dan Osipov
Calkins Media
http://phillyburbs.com/




More information about the TYPO3-dev mailing list