file_get_contents seems to do the same job as curl in this case.
Now I don't receive any error-messages anywhere except for the following in admin/settings/udcountdown :
warning: fopen(sites/default/files/countdown/data/desc.csv) [function.fopen]: failed to open stream: No such file or directory in /nfs/www/no/www.ubuntu.no/htdocs/modules/ubuntu-drupal-countdown/udcountdown_settings.inc on line 65.
Ps. I use IRC for quick questions, if I don't get an answer there I use bugtrackers like this one instead, I don't expect you to answer me immediately on IRC, I'm just trying my luck :)
Ah, would it be okay of I push the following udcountdown_ cron.inc patch to remove the curl dependency?
26,32c26 RETURNTRANSFER, TRUE); FOLLOWLOCATION, TRUE); contents( "$pointer/ +download/ rv");
< $cur = curl_init();
< curl_setopt($cur, CURLOPT_URL, $pointer . '/+download/rv');
< curl_setopt($cur, CURLOPT_
< curl_setopt($cur, CURLOPT_
< $curval = curl_exec($cur);
< curl_close($cur);
< $curval = trim($curval);
---
> $curval = file_get_
file_get_contents seems to do the same job as curl in this case.
Now I don't receive any error-messages anywhere except for the following in admin/settings/ udcountdown :
warning: fopen(sites/ default/ files/countdown /data/desc. csv) [function.fopen]: failed to open stream: No such file or directory in /nfs/www/ no/www. ubuntu. no/htdocs/ modules/ ubuntu- drupal- countdown/ udcountdown_ settings. inc on line 65.
Ps. I use IRC for quick questions, if I don't get an answer there I use bugtrackers like this one instead, I don't expect you to answer me immediately on IRC, I'm just trying my luck :)