CodeIgniter Forums
Twitter sign in problem with CURLOPT_FOLLOWLOCATION - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Twitter sign in problem with CURLOPT_FOLLOWLOCATION (/showthread.php?tid=36960)



Twitter sign in problem with CURLOPT_FOLLOWLOCATION - El Forum - 12-21-2010

[eluser]Unknown[/eluser]
Hi Peng,

First of all, thanks a lot for sharing this project, it is really awesome.

I know there have been some discussion over this topic before, and I tried to go through the solution posted in http://au.php.net/manual/ro/function.curl-setopt.php#71313 that you mentioned, but I could not make it work properly. Can you drop a few lines over how to implement this workaround for the error:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set?

Thanks a lot in advance,

Mahmud