Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in line 161 -- point to curl_setopt($curl_connection, CURLOPT_FOLLOWLOCATION, 1);
on local development it work just fine, but on web server it gave this error. I couldn't figure what is wrong with setopt?