though removing offending line does remove the warning msg but it doesn't come up with required results. curl_exec() doesn't work properly with out setting "FOLLOWLOCATION". :frown::frown:
when I try running my script I am facing following error. kindly help me resolve this:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set