WDlinux官方论坛's Archiver

f200728237 发表于 2014-10-22 13:16

出现错误怎么解决,谢谢

[b]Warning[/b][color=#000][font=Simsun]: curl_setopt() [[/font][/color]function.curl-setopt[color=#000][font=Simsun]]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in [/font][/color][b]/www/web/tao/public_html/ip.php[/b][color=#000][font=Simsun] on line [/font][/color][b]6[/b]

[b]使用curl [/b]

[font=Simsun][size=3][color=#000000][b]curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1 ); // 使用自动跳转 [/b][/color][/size][/font]
[font=Simsun][size=3][color=#000000][/color][/size][/font]
[font=Simsun][size=3][color=#000000][/color][/size][/font]
[font=Simsun][size=3][color=#000000][b]这段一加上去就出现错误,求解救方案[/b][/color][/size][/font]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.