[TYPO3-dev] @file_get_contents($url) returns nothing when running script from cronjob

Brian Bendtsen bb at bellevuevej.dk
Wed Oct 1 13:46:39 CEST 2008


Dmitry Dulepov skrev:
> Hi!
> 
> Brian Bendtsen wrote:
>> I have found out that when running script from cronjob the function 
>> @file_get_contents($url) returns nothing.
> 
> Do not use file_get_contents(). Use t3lib_div::getURL($url).
> 
I am using the t3lib_div::getURL($url) but this uses the 
@file_get_contents($url) function right?

/Brian




More information about the TYPO3-dev mailing list