FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Curl error

 


vignesh_natraj
Quote:
CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/vigneshn/domains/cheapword.com/public_html/rss2html.php on line 336

please what is this error ? any tips!
hexkid
vignesh_natraj wrote:
please what is this error ? any tips!

This means your server has safe_mode and/or open_basedir restrictions active. Since you probably cannot change the configuration, what you can do is:

remove the curl_setopt() that sets CURLOPT_FOLLOWLOCATION from your script -- it may still work as expected; if that doesn't solve it, you'll have to parse the response headers and do another cURL for the new location(s)
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.