关于安全模式safe_mode的问题
我用curl抓取Google搜索结果时出现以下警告:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
提示说安全模式开启的话 就不能使用这个函数的CURLOPT_FOLLOWLOCATION 选项
请问有什么办法在开启安全模式的情况下可以使用curl的CURLOPT_FOLLOWLOCATION选项。
如题,谢谢